summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2020-08-26 15:12:12 -0400
committerZack Weinberg <zackw@panix.com>2020-08-26 15:12:12 -0400
commitc42dd55ddd598b45664899bfc171c13945a77c0c (patch)
tree98fe5f40db5872d6ea2ba8c88c4c7c4072c8463d
parent88e0d39a46b2f9c43fa48fda50da09607f6a9d9b (diff)
downloadautoconf-c42dd55ddd598b45664899bfc171c13945a77c0c.tar.gz
Pass $(MAKE) down to testsuite.
If Make is not available under the command name ‘make’, only some other name (e.g. ‘gmake’) then the test suite’s internal invocations of Make will all fail unless you explicitly set MAKE=<the other name> in the environment, which is obnoxious. Pass the value of $(MAKE) down to the testsuite so that ‘gmake check’ Just Works. * tests/local.mk (run_testsuite): Append MAKE=$(MAKE).
-rw-r--r--tests/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/local.mk b/tests/local.mk
index f55e8c6d..93e14ed3 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -139,7 +139,7 @@ $(TESTSUITE): tests/package.m4 \
mv $@.tmp $@
# Factor out invocation of the testsuite script.
-run_testsuite = $(SHELL) $(TESTSUITE) -C tests
+run_testsuite = $(SHELL) $(TESTSUITE) -C tests MAKE=$(MAKE)
# Avoid a race condition that would make parallel "distclean" fail.
# The rule in clean-local tests for existence of $(TESTSUITE), and