Commit 6df64fa8 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

tester: fix tests when building without video

parent 30d30f60
......@@ -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),
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment