diff options
Diffstat (limited to 'pjlib/src/pjlib-test/test.c')
-rw-r--r-- | pjlib/src/pjlib-test/test.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pjlib/src/pjlib-test/test.c b/pjlib/src/pjlib-test/test.c index 8ccdc568..b65fa9e7 100644 --- a/pjlib/src/pjlib-test/test.c +++ b/pjlib/src/pjlib-test/test.c @@ -30,6 +30,10 @@ int test_inner(void) int rc = 0; mem = &caching_pool.factory; +
+ pj_log_set_level(3);
+ pj_log_set_decor(PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME |
+ PJ_LOG_HAS_MICRO_SEC);
rc = pj_init(); if (rc != 0) { @@ -37,8 +41,6 @@ int test_inner(void) return rc; } - pj_log_set_level(3); - pj_log_set_decor(PJ_LOG_HAS_NEWLINE); pj_dump_config(); pj_caching_pool_init( &caching_pool, &pj_pool_factory_default_policy, 0 ); @@ -125,6 +127,10 @@ int test_inner(void) #if INCLUDE_IOQUEUE_PERF_TEST
DO_TEST( ioqueue_perf_test() );
#endif
+
+#if INCLUDE_FILE_TEST
+ DO_TEST( file_test() );
+#endif
#if INCLUDE_XML_TEST DO_TEST( xml_test() ); |