summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarvin Schmidt <marvin_schmidt@gmx.net>2009-09-04 13:51:37 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-09-08 15:28:07 +0200
commitffa63329cb1c264ad5395980e27907dc04bc0764 (patch)
tree8736e2c558d5386c3c75e790e6bdb175f06ef003 /tests
parent2912b21d1406c67174cbabd899b7149fb3b7085d (diff)
checks: only run HTTPS test if libsoup has SSL support
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/souphttpsrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
index 3c6f5199..4e8032c1 100644
--- a/tests/check/elements/souphttpsrc.c
+++ b/tests/check/elements/souphttpsrc.c
@@ -451,7 +451,6 @@ souphttpsrc_suite (void)
suite_add_tcase (s, tc_chain);
run_server (&http_port, &https_port);
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_no);
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_bad_user_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);
tcase_set_timeout (tc_internet, 250);