]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Makefile.in: Add TEST_CONFIG variable to specify flags for
authorJoe Orton <jorton@apache.org>
Tue, 9 Jun 2020 10:11:33 +0000 (10:11 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 9 Jun 2020 10:11:33 +0000 (10:11 +0000)
  all ./t/TEST invocations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878657 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in

index 40c025a94cb8943e4a89dd70871d371210f15c22..df59db6fde65b6da32bae61aa4f7b3a3af760e11 100644 (file)
@@ -36,7 +36,8 @@ EXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists \
        httpd.spec
 PHONY_TARGETS := check check-conf check-dirs check-include unittest-objdir
 
-TESTS = 
+TESTS =
+TEST_CONFIG =
 
 include $(top_builddir)/build/rules.mk
 include $(top_srcdir)/build/program.mk
@@ -443,7 +444,7 @@ $(TEST_SUITE_LOCATION)/Makefile: $(TEST_SUITE_LOCATION)/Makefile.PL $(INSTALL_HE
        cd "$(TEST_SUITE_LOCATION)" && \
            perl Makefile.PL -apxs "$(top_builddir)/check/bin/apxs" && \
            ./t/TEST -clean && \
-           ./t/TEST -config
+           ./t/TEST -config $(TEST_CONFIG)
 
 check-make: $(TEST_SUITE_LOCATION)/Makefile
 
@@ -453,7 +454,7 @@ check-no:
 
 check-yes: check-include check-dirs check-conf check/build/config_vars.mk \
        check-binaries $(TEST_SUITE_LOCATION)/Makefile
-       cd $(TEST_SUITE_LOCATION) && $(MAKE) && ./t/TEST $(TESTS)
+       cd $(TEST_SUITE_LOCATION) && $(MAKE) && ./t/TEST $(TEST_CONFIG) $(TESTS)
 
 # Run the Apache::Test suite if it has been configured with --with-test-suite.
 check: check-$(WITH_TEST_SUITE)