summaryrefslogtreecommitdiff
path: root/pjnath/src/pjnath-test/ice_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjnath/src/pjnath-test/ice_test.c')
-rw-r--r--pjnath/src/pjnath-test/ice_test.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/pjnath/src/pjnath-test/ice_test.c b/pjnath/src/pjnath-test/ice_test.c
index f8673356..d9a97ee6 100644
--- a/pjnath/src/pjnath-test/ice_test.c
+++ b/pjnath/src/pjnath-test/ice_test.c
@@ -459,7 +459,11 @@ int ice_test(void)
pj_stun_config_init(&stun_cfg, mem, 0, ioqueue, timer_heap);
- //pj_log_set_level(4);
+#if 1
+ pj_log_set_level(5);
+#endif
+
+ goto test;
/* Basic create/destroy */
rc = ice_basic_create_destroy_test();
@@ -487,10 +491,13 @@ int ice_test(void)
goto on_return;
/* Direct communication with two components */
+test:
rc = perform_ice_test("With two components (RTP and RTCP)", PJ_TRUE, 2, PJ_TRUE, D1, D2, 0, NULL, 0, NULL);
if (rc != 0)
goto on_return;
+ goto on_return;
+
/* Direct communication with mismatch number of components */
/* Direct communication with 2 components and 2 invalid address */
@@ -501,7 +508,7 @@ int ice_test(void)
on_return:
- //pj_log_set_level(3);
+ pj_log_set_level(3);
pj_ioqueue_destroy(stun_cfg.ioqueue);
pj_pool_release(pool);
return rc;