diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-10-01 10:00:37 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-10-01 10:00:37 +0000 |
commit | deb475aa4330c22608437d2b4e5b62fe3bb82ff0 (patch) | |
tree | a421fcb08d658b1f82b63385dba0144a9c9cc8ec /pjsip/src/test-pjsip | |
parent | 3262d7da766d0b21dc708e64a3081517ee83794a (diff) |
Ticket #653: Add WinCE workspace/project files for pjsip unit tests (thanks Seth Hinze for the contribution)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2339 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip')
-rw-r--r-- | pjsip/src/test-pjsip/main_win32.c | 1 | ||||
-rw-r--r-- | pjsip/src/test-pjsip/test.c | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pjsip/src/test-pjsip/main_win32.c b/pjsip/src/test-pjsip/main_win32.c new file mode 100644 index 00000000..3043a395 --- /dev/null +++ b/pjsip/src/test-pjsip/main_win32.c @@ -0,0 +1 @@ +#include "../../pjlib/src/pjlib-test/main_win32.c" diff --git a/pjsip/src/test-pjsip/test.c b/pjsip/src/test-pjsip/test.c index ef3d4db0..3181fc6d 100644 --- a/pjsip/src/test-pjsip/test.c +++ b/pjsip/src/test-pjsip/test.c @@ -47,6 +47,8 @@ pjsip_endpoint *endpt; int log_level = 3; +int param_log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | + PJ_LOG_HAS_MICRO_SEC; static pj_oshandle_t fd_report; const char *system_name = "Unknown"; @@ -233,10 +235,7 @@ int test_main(void) int line; pj_log_set_level(log_level); - /* - pj_log_set_decor(PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | - PJ_LOG_HAS_MICRO_SEC); - */ + pj_log_set_decor(param_log_decor); if ((rc=pj_init()) != PJ_SUCCESS) { app_perror("pj_init", rc); |