| 1 |
# Makefile for `wget' utility |
| 2 |
# Copyright (C) 2013, 2015, 2018-2024 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
# This program is free software; you can redistribute it and/or modify |
| 5 |
# it under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation; either version 3 of the License, or |
| 7 |
# (at your option) any later version. |
| 8 |
|
| 9 |
# This program is distributed in the hope that it will be useful, |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
# GNU General Public License for more details. |
| 13 |
|
| 14 |
# You should have received a copy of the GNU General Public License |
| 15 |
# along with Wget. If not, see <http://www.gnu.org/licenses/>. |
| 16 |
|
| 17 |
# Additional permission under GNU GPL version 3 section 7 |
| 18 |
|
| 19 |
# If you modify this program, or any covered work, by linking or |
| 20 |
# combining it with the OpenSSL project's OpenSSL library (or a |
| 21 |
# modified version of that library), containing parts covered by the |
| 22 |
# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation |
| 23 |
# grants you additional permission to convey the resulting work. |
| 24 |
# Corresponding Source for a non-source form of such a combination |
| 25 |
# shall include the source code for the parts of OpenSSL used as well |
| 26 |
# as that of the covered work. |
| 27 |
|
| 28 |
DEFAULT_TESTS = \ |
| 29 |
Test-504.py \ |
| 30 |
Test-416.py \ |
| 31 |
Test-auth-basic-fail.py \ |
| 32 |
Test-auth-basic.py \ |
| 33 |
Test-auth-basic-netrc.py \ |
| 34 |
Test-auth-basic-netrc-user-given.py \ |
| 35 |
Test-auth-basic-netrc-pass-given.py \ |
| 36 |
Test-auth-basic-no-netrc-fail.py \ |
| 37 |
Test-auth-both.py \ |
| 38 |
Test-auth-digest.py \ |
| 39 |
Test-auth-no-challenge.py \ |
| 40 |
Test-auth-no-challenge-url.py \ |
| 41 |
Test-auth-retcode.py \ |
| 42 |
Test-auth-with-content-disposition.py \ |
| 43 |
Test-c-full.py \ |
| 44 |
Test-condget.py \ |
| 45 |
Test-Content-disposition-2.py \ |
| 46 |
Test-Content-disposition.py \ |
| 47 |
test_css_url.py \ |
| 48 |
Test--convert-links--content-on-error.py \ |
| 49 |
Test-cookie-401.py \ |
| 50 |
Test-cookie-domain-mismatch.py \ |
| 51 |
Test-cookie-expires.py \ |
| 52 |
Test-cookie.py \ |
| 53 |
Test-Head.py \ |
| 54 |
Test-hsts.py \ |
| 55 |
Test-https-k.py \ |
| 56 |
Test--https.py \ |
| 57 |
Test--https-crl.py \ |
| 58 |
Test-k.py \ |
| 59 |
Test-missing-scheme-retval.py \ |
| 60 |
Test-O.py \ |
| 61 |
Test-pinnedpubkey-der-https.py \ |
| 62 |
Test-pinnedpubkey-der-no-check-https.py \ |
| 63 |
Test-pinnedpubkey-hash-https.py \ |
| 64 |
Test-pinnedpubkey-hash-no-check-fail-https.py \ |
| 65 |
Test-pinnedpubkey-pem-fail-https.py \ |
| 66 |
Test-pinnedpubkey-pem-https.py \ |
| 67 |
Test-Post.py \ |
| 68 |
Test-recursive-basic.py \ |
| 69 |
Test-recursive-include.py \ |
| 70 |
Test-recursive-redirect.py \ |
| 71 |
Test-redirect.py \ |
| 72 |
Test-redirect-crash.py \ |
| 73 |
Test--rejected-log.py \ |
| 74 |
Test-reserved-chars.py \ |
| 75 |
Test--spider-r.py \ |
| 76 |
Test-no_proxy-env.py |
| 77 |
|
| 78 |
METALINK_TESTS = \ |
| 79 |
Test-metalink-http.py \ |
| 80 |
Test-metalink-http-quoted.py \ |
| 81 |
Test-metalink-http-baddigest.py \ |
| 82 |
Test-metalink-http-xml.py \ |
| 83 |
Test-metalink-http-xml-trust.py \ |
| 84 |
Test-metalink-http-xml-trust-name.py \ |
| 85 |
Test-metalink-http-xml-type.py \ |
| 86 |
Test-metalink-http-xml-type-trust.py \ |
| 87 |
Test-metalink-http-xml-type-content.py \ |
| 88 |
Test-metalink-http-xml-type-trust-content.py \ |
| 89 |
Test-metalink-xml.py \ |
| 90 |
Test-metalink-xml-continue.py \ |
| 91 |
Test-metalink-xml-relpath.py \ |
| 92 |
Test-metalink-xml-abspath.py \ |
| 93 |
Test-metalink-xml-homepath.py \ |
| 94 |
Test-metalink-xml-trust.py \ |
| 95 |
Test-metalink-xml-relpath-trust.py \ |
| 96 |
Test-metalink-xml-abspath-trust.py \ |
| 97 |
Test-metalink-xml-homepath-trust.py \ |
| 98 |
Test-metalink-xml-prefix.py \ |
| 99 |
Test-metalink-xml-relprefix.py \ |
| 100 |
Test-metalink-xml-absprefix.py \ |
| 101 |
Test-metalink-xml-homeprefix.py \ |
| 102 |
Test-metalink-xml-prefix-trust.py \ |
| 103 |
Test-metalink-xml-relprefix-trust.py \ |
| 104 |
Test-metalink-xml-absprefix-trust.py \ |
| 105 |
Test-metalink-xml-homeprefix-trust.py \ |
| 106 |
Test-metalink-xml-emptyprefix-trust.py \ |
| 107 |
Test-metalink-xml-size.py \ |
| 108 |
Test-metalink-xml-nohash.py \ |
| 109 |
Test-metalink-xml-nourls.py \ |
| 110 |
Test-metalink-xml-urlbreak.py |
| 111 |
|
| 112 |
AUTOMAKE_OPTIONS = parallel-tests |
| 113 |
AM_TESTS_ENVIRONMENT = export WGETRC=/dev/null; MAKE_CHECK=True; export MAKE_CHECK;\ |
| 114 |
export PYTHONPATH=$$PYTHONPATH$(PATH_SEPARATOR)$(srcdir); export VALGRIND_TESTS="@VALGRIND_TESTS@"; |
| 115 |
|
| 116 |
if WITH_SSL |
| 117 |
AM_TESTS_ENVIRONMENT += export SSL_TESTS=1; |
| 118 |
endif |
| 119 |
|
| 120 |
if HAVE_PYTHON3 |
| 121 |
TESTS = $(DEFAULT_TESTS) |
| 122 |
if WITH_METALINK |
| 123 |
TESTS += $(METALINK_TESTS) |
| 124 |
endif |
| 125 |
endif |
| 126 |
|
| 127 |
EXTRA_DIST = certs conf exc misc server test README \ |
| 128 |
valgrind-suppressions-ssl \ |
| 129 |
$(DEFAULT_TESTS) $(METALINK_TESTS) |
| 130 |
|
| 131 |
TEST_EXTENSIONS = .py |
| 132 |
PY_LOG_COMPILER = python3 |
| 133 |
AM_PY_LOG_FLAGS = -O |