From 3ab4a8c1c040480b81860a07f58aeb3a02a1c33b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 20 Nov 2013 14:15:49 +0100 Subject: Added unittest (based on CppUnit) of asc2bin functions. --- test/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 49bcf0d..82fc79f 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,3 +1,6 @@ +CFLAGS=`cppunit-config --cflags` +LIBS=`cppunit-config --libs` + all: connectivity amrwb init rtp srtp opus raw connectivity: @@ -27,3 +30,7 @@ rtp: srtp: g++ -g -DUSE_CRYPTO test_$@.cc ../src/rtp.cc ../src/srtp.cc ../src/asc2bin.cc -lsrtp -o test_$@ ./test_$@ + +asc2bin: + g++ ${CFLAGS} ${LIBS} -g test.cc test_$@.cc -o test_$@ + ./test_$@ -- cgit v1.2.3