diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-10-01 09:58:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-10-01 09:58:42 +0000 |
commit | 3262d7da766d0b21dc708e64a3081517ee83794a (patch) | |
tree | 42f3b4148a6bbd9f90b3028c4e655e1ae79ca9c0 /pjnath/src/pjnath-test | |
parent | 76355abc0586c9970a82c9e81a493c5fbb4b7ca4 (diff) |
Ticket #652: Add WinCE workspace/project files for pjnath unit tests (thanks Seth Hinze for the contribution)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2338 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/src/pjnath-test')
-rw-r--r-- | pjnath/src/pjnath-test/main_win32.c | 1 | ||||
-rw-r--r-- | pjnath/src/pjnath-test/test.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pjnath/src/pjnath-test/main_win32.c b/pjnath/src/pjnath-test/main_win32.c new file mode 100644 index 00000000..3043a395 --- /dev/null +++ b/pjnath/src/pjnath-test/main_win32.c @@ -0,0 +1 @@ +#include "../../pjlib/src/pjlib-test/main_win32.c" diff --git a/pjnath/src/pjnath-test/test.c b/pjnath/src/pjnath-test/test.c index 2abc1696..105230c2 100644 --- a/pjnath/src/pjnath-test/test.c +++ b/pjnath/src/pjnath-test/test.c @@ -144,6 +144,8 @@ int check_pjlib_state(pj_stun_config *cfg, pj_pool_factory *mem; +int param_log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | + PJ_LOG_HAS_MICRO_SEC; static int test_inner(void) { @@ -154,8 +156,7 @@ static int test_inner(void) #if 1 pj_log_set_level(3); - pj_log_set_decor(PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | - PJ_LOG_HAS_MICRO_SEC); + pj_log_set_decor(param_log_decor); #endif rc = pj_init(); |