mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Skip python tests if python3 is not available
Reported-by: kdevel@vogtner.de
This commit is contained in:
parent
7259c30929
commit
831b9d1880
@ -1,3 +1,8 @@
|
||||
2014-11-05 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||
|
||||
* configure.ac: check for python3
|
||||
* Makefile.am: only use python test suite if python3 found
|
||||
|
||||
2014-11-05 Giuseppe Scrivano <gscrivan@redhat.com>
|
||||
|
||||
* contrib/tsocked-wget (TSOCKS_CONF_FILE): Remove empty new-line.
|
||||
|
@ -135,6 +135,12 @@ AC_AIX
|
||||
|
||||
gl_EARLY
|
||||
|
||||
dnl
|
||||
dnl Find python3
|
||||
dnl
|
||||
AM_PATH_PYTHON([3.0],,[:])
|
||||
AM_CONDITIONAL([HAVE_PYTHON3], [test "$PYTHON" != :])
|
||||
|
||||
dnl
|
||||
dnl Gettext
|
||||
dnl
|
||||
|
@ -29,7 +29,8 @@
|
||||
AUTOMAKE_OPTIONS = parallel-tests
|
||||
AM_TESTS_ENVIRONMENT = export WGETRC=/dev/null; MAKE_CHECK=True; export MAKE_CHECK;\
|
||||
export PYTHONPATH=$$PYTHONPATH:$(srcdir); export VALGRIND_TESTS="@VALGRIND_TESTS@";
|
||||
TESTS = Test-auth-basic-fail.py \
|
||||
if HAVE_PYTHON3
|
||||
TESTS = Test-auth-basic-fail.py \
|
||||
Test-auth-basic.py \
|
||||
Test-auth-both.py \
|
||||
Test-auth-digest.py \
|
||||
@ -50,7 +51,8 @@ TESTS = Test-auth-basic-fail.py \
|
||||
Test-Post.py \
|
||||
Test--spider-r.py
|
||||
|
||||
XFAIL_TESTS = Test-auth-both.py
|
||||
XFAIL_TESTS = Test-auth-both.py
|
||||
endif
|
||||
|
||||
EXTRA_DIST = certs conf exc misc server test README $(TESTS) $(XFAIL_TESTS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user