diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-11-20 14:15:49 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-11-20 14:15:49 +0100 |
commit | 3ab4a8c1c040480b81860a07f58aeb3a02a1c33b (patch) | |
tree | 3b878d4e494ed709cbf48bc7b5d8424e1367e53b /test/Makefile | |
parent | ad2349f32e4e8cbeea170fbbeb4d3dc453475872 (diff) |
Added unittest (based on CppUnit) of asc2bin functions.
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
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_$@ |