]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Pass $(MAKE) down to testsuite.
authorZack Weinberg <zackw@panix.com>
Wed, 26 Aug 2020 19:12:12 +0000 (15:12 -0400)
committerZack Weinberg <zackw@panix.com>
Wed, 26 Aug 2020 19:12:12 +0000 (15:12 -0400)
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).

tests/local.mk

index f55e8c6db09779c6f4176cb3d1b1c29cefa92ef9..93e14ed34ef9ac1fda63757d5d06bf9bdbfa0f5b 100644 (file)
@@ -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