]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_sofia] unit-tests fix - don't run shaken tests if lib not installed.
authorDragos Oancea <dragos@signalwire.com>
Fri, 9 Jul 2021 14:38:36 +0000 (14:38 +0000)
committerAndrey Volk <andywolk@gmail.com>
Sat, 23 Oct 2021 19:00:50 +0000 (22:00 +0300)
src/mod/endpoints/mod_sofia/test/test_sofia_funcs.c

index e769057363e18057da203b02c30288096257f5c2..9d1a7d3fee5437eac9053142240f8cb0e7d0622f 100644 (file)
@@ -112,6 +112,7 @@ FST_TEST_BEGIN(originate_test)
 }
 FST_TEST_END()
 
+#if HAVE_STIRSHAKEN
 FST_TEST_BEGIN(sofia_verify_identity_test_no_identity)
 {
        switch_core_session_t *session = NULL;
@@ -255,6 +256,7 @@ FST_TEST_BEGIN(sofia_auth_identity_test_attest_a_date)
        switch_sleep(10 * 1000 * 1000);
 }
 FST_TEST_END()
+#endif 
 
 FST_MODULE_END()