suites via test/run-all-tests.sh against the check/ build tree.
(PHONY_TARGETS): Add check-pytest and check-all-pytest.
* test/run-all-tests.sh: Document PYHTTPD_CONFIG.
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
GitHub: PR #701
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1936870 13f79535-47bb-0310-9956-
ffa450edef68
build/pkg/pkginfo build/config_vars.sh bsd_converted
EXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists \
httpd.spec
-PHONY_TARGETS := check check-conf check-dirs check-include unittest-objdir
+PHONY_TARGETS := check check-conf check-dirs check-include check-pytest check-all-pytest unittest-objdir
TESTS =
TEST_CONFIG =
check-pytest: check-tree check/bin/apachectl check/config.ini check/modules/stamp
PYHTTPD_CONFIG=$(top_builddir)/check/config.ini $(PYTEST3) $(PYTEST_DIRS)
+check-all-pytest: check-tree check/bin/apachectl check/config.ini check/modules/stamp
+ PYHTTPD_CONFIG=$(top_builddir)/check/config.ini $(SHELL) $(top_srcdir)/test/run-all-tests.sh --apxs "$(top_builddir)/check/bin/apxs"
+
# Runs all configured/available test targets.
check: $(CHECK_TARGETS)
Environment:
APXS path to apxs (default: config.ini, then \$PATH)
PHP_FPM path to php-fpm for PHP tests in pytest_suite (optional)
+ PYHTTPD_CONFIG path to config.ini for the pyhttpd suite (default:
+ pyhttpd/config.ini's own --prefix path, which may not be
+ \`make install\`ed -- e.g. \`make check-all-pytest\` exports
+ this pointing at check/config.ini)
PYHTTPD_TARGETS space-separated list of pyhttpd test paths (default: modules/*)
EOF
}