From 774e2789774dcb35f7e9e4cfa41632e13e2ac09e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 4 Dec 2013 14:04:33 +0100 Subject: Modernise autotools files. Convert all tests to cppunit. --- test/Makefile.am | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 test/Makefile.am (limited to 'test/Makefile.am') 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 -- cgit v1.2.3