diff --git a/tester/call_tester.c b/tester/call_tester.c index 1cb9e84be..3a1bcefaf 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -6054,11 +6054,13 @@ test_t call_tests[] = { TEST_NO_TAG("Call without SDP", call_with_no_sdp), TEST_NO_TAG("Call without SDP and ACK without SDP", call_with_no_sdp_ack_without_sdp), TEST_NO_TAG("Call paused resumed", call_paused_resumed), +#ifdef VIDEO_ENABLED TEST_NO_TAG("Call paused resumed with video", call_paused_resumed_with_video), TEST_NO_TAG("Call paused resumed with video no sdp ack", call_paused_resumed_with_no_sdp_ack), TEST_NO_TAG("Call paused resumed with video no sdk ack using video policy for resume offers", call_paused_resumed_with_no_sdp_ack_using_video_policy), TEST_NO_TAG("Call paused, updated and resumed with video no sdk ack using video policy for resume offers", call_paused_updated_resumed_with_no_sdp_ack_using_video_policy), TEST_NO_TAG("Call paused, updated and resumed with video no sdk ack using video policy for resume offers with accept call update", call_paused_updated_resumed_with_no_sdp_ack_using_video_policy_and_accept_call_update), +#endif TEST_NO_TAG("Call paused by both parties", call_paused_by_both), TEST_NO_TAG("Call paused resumed with loss", call_paused_resumed_with_loss), TEST_NO_TAG("Call paused resumed from callee", call_paused_resumed_from_callee), diff --git a/tester/setup_tester.c b/tester/setup_tester.c index 7fc17c513..b4c31ce73 100644 --- a/tester/setup_tester.c +++ b/tester/setup_tester.c @@ -298,7 +298,13 @@ static void devices_reload_test(void) { devid1 = ms_strdup(linphone_core_get_video_device(mgr->lc)); linphone_core_reload_video_devices(mgr->lc); devid2 = ms_strdup(linphone_core_get_video_device(mgr->lc)); - BC_ASSERT_STRING_EQUAL(devid1, devid2); + + if (devid1 && devid2) { + BC_ASSERT_STRING_EQUAL(devid1, devid2); + } else { + BC_ASSERT_PTR_NULL(devid1); + BC_ASSERT_PTR_NULL(devid2); + } ms_free(devid1); ms_free(devid2);