From: Zack Weinberg Date: Wed, 26 Aug 2020 19:12:12 +0000 (-0400) Subject: Pass $(MAKE) down to testsuite. X-Git-Tag: v2.69c~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c42dd55ddd598b45664899bfc171c13945a77c0c;p=thirdparty%2Fautoconf.git 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= 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). --- 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