summaryrefslogtreecommitdiff
path: root/pjmedia/src/test/test.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-08-15 10:05:36 +0000
committerBenny Prijono <bennylp@teluu.com>2009-08-15 10:05:36 +0000
commit62085bfb4fe4e6f5ca95f414d96714c2f8714355 (patch)
treea20cf70d86ba9e61bf9f79a3945e258645ca93ef /pjmedia/src/test/test.c
parent05b080f7b17a9efbf1bc1a77397865cb97c5db21 (diff)
Ticket #944: misc fixes in pjmedia_test:
- Assertion in pjmedia tests's MIPS test with iLBC codec due to ptime mismatch - added compile time macro in test.h to enable/disable specific tests - also added SVN keyword expansion attributes to the source files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2882 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/test/test.c')
-rw-r--r--pjmedia/src/test/test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pjmedia/src/test/test.c b/pjmedia/src/test/test.c
index d5bfd4e8..385eee15 100644
--- a/pjmedia/src/test/test.c
+++ b/pjmedia/src/test/test.c
@@ -56,13 +56,21 @@ int test_main(void)
mem = &caching_pool.factory;
+#if HAS_SDP_NEG_TEST
DO_TEST(sdp_neg_test());
+#endif
//DO_TEST(sdp_test (&caching_pool.factory));
//DO_TEST(rtp_test(&caching_pool.factory));
//DO_TEST(session_test (&caching_pool.factory));
+#if HAS_JBUF_TEST
DO_TEST(jbuf_main());
+#endif
+#if HAS_MIPS_TEST
DO_TEST(mips_test());
+#endif
+#if HAS_CODEC_VECTOR_TEST
DO_TEST(codec_test_vectors());
+#endif
PJ_LOG(3,(THIS_FILE," "));