mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
checks: only run HTTPS test if libsoup has SSL support
This commit is contained in:
parent
2912b21d14
commit
ffa63329cb
1 changed files with 2 additions and 1 deletions
|
@ -451,7 +451,6 @@ souphttpsrc_suite (void)
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
run_server (&http_port, &https_port);
|
run_server (&http_port, &https_port);
|
||||||
tcase_add_test (tc_chain, test_first_buffer_has_offset);
|
tcase_add_test (tc_chain, test_first_buffer_has_offset);
|
||||||
tcase_add_test (tc_chain, test_https);
|
|
||||||
tcase_add_test (tc_chain, test_redirect_yes);
|
tcase_add_test (tc_chain, test_redirect_yes);
|
||||||
tcase_add_test (tc_chain, test_redirect_no);
|
tcase_add_test (tc_chain, test_redirect_no);
|
||||||
tcase_add_test (tc_chain, test_not_found);
|
tcase_add_test (tc_chain, test_not_found);
|
||||||
|
@ -463,6 +462,8 @@ souphttpsrc_suite (void)
|
||||||
tcase_add_test (tc_chain, test_good_user_digest_auth);
|
tcase_add_test (tc_chain, test_good_user_digest_auth);
|
||||||
tcase_add_test (tc_chain, test_bad_user_digest_auth);
|
tcase_add_test (tc_chain, test_bad_user_digest_auth);
|
||||||
tcase_add_test (tc_chain, test_bad_password_digest_auth);
|
tcase_add_test (tc_chain, test_bad_password_digest_auth);
|
||||||
|
if (soup_ssl_supported)
|
||||||
|
tcase_add_test (tc_chain, test_https);
|
||||||
|
|
||||||
suite_add_tcase (s, tc_internet);
|
suite_add_tcase (s, tc_internet);
|
||||||
tcase_set_timeout (tc_internet, 250);
|
tcase_set_timeout (tc_internet, 250);
|
||||||
|
|
Loading…
Reference in a new issue