On Sunday 21 June 2015 12:08:39 Ander Juaristi wrote:
Hi all,
I noticed that when Wget is compiled with no SSL support, two tests from the
Python test suite fail. For me it's always reproducible:
$ ./configure --without-ssl
$ make check
<output trimmed>
FAIL: Test--https.py
FAIL: Test--https-crl.py
This doesn't look like desired behaviour, does it? Ideally, those tests
should be skipped when Wget does not support SSL.
Isn't there anything like WgetFeature.pm in the Python tests?
Today we have the possibility to work with XFAIL_TESTS in Makefile.am.
How it should work (IMO):
When we './configure --without-ssl' we expect the https tests to FAIL (not
just SKIPPED). What we simply need is a SUBST variable that we check in
testenv/Makefile.am. Depending on the check the https tests are either added
to TESTS or to XFAIL_TESTS. Same with other switchable features.