diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-04 14:04:33 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-04 14:04:33 +0100 |
commit | 774e2789774dcb35f7e9e4cfa41632e13e2ac09e (patch) | |
tree | 61e473e901a89b6fb8a0652797e2b554b239c02e /test/Makefile.am | |
parent | 69ed1b39d8ee855e9fe4c7b0ea0cffea951c1d59 (diff) |
Modernise autotools files. Convert all tests to cppunit.
Diffstat (limited to 'test/Makefile.am')
-rw-r--r-- | test/Makefile.am | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am new file mode 100644 index 0000000..e5c60bf --- /dev/null +++ b/test/Makefile.am @@ -0,0 +1,34 @@ +TESTS = amrwb opus init rtp srtp raw asc2bin + +check_PROGRAMS = $(TESTS) + +amrwb_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"amrwb\" -I../src +amrwb_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp +amrwb_SOURCES = test.cc test_amrwb.cc + +opus_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"opus\" -I../src +opus_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp -lopus -lao +opus_SOURCES = test.cc test_opus.cc + +init_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"init\" -I../src +init_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp +init_SOURCES = test.cc test_init.cc + +rtp_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"rtp\" -I../src +rtp_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp +rtp_SOURCES = test.cc test_rtp.cc + +srtp_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"srtp\" -I../src +srtp_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp +srtp_SOURCES = test.cc test_srtp.cc + +raw_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"raw\" -I../src +raw_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp +raw_SOURCES = test.cc test_raw.cc + +asc2bin_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"asc2bin\" -I../src +asc2bin_LDFLAGS = $(CPPUNIT_LIBS) +asc2bin_SOURCES = test.cc test_asc2bin.cc + +clean-local: + -rm -f result_*.xml |