From c42dd55ddd598b45664899bfc171c13945a77c0c Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 26 Aug 2020 15:12:12 -0400 Subject: [PATCH] Pass $(MAKE) down to testsuite. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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). --- tests/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2