From: Willy Tarreau Date: Fri, 15 Mar 2019 16:29:53 +0000 (+0100) Subject: BUILD: Makefile: resolve LEVEL before calling run-regtests X-Git-Tag: v2.0-dev2~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6c37b2d4696559eb0a9aa8d61e4f7fc7ef758d9;p=thirdparty%2Fhaproxy.git BUILD: Makefile: resolve LEVEL before calling run-regtests Calling "make reg-tests V=1" shows --LEVEL "$LEVEL" which is not quite useful. Let's use "$(LEVEL)" instead of "$$LEVEL" so that make resolves the variable before launching the command. This way the reported command is usable from the shell. --- diff --git a/Makefile b/Makefile index db7f419171..c515a754c2 100644 --- a/Makefile +++ b/Makefile @@ -1100,7 +1100,7 @@ endif # Target to run the regression testing script files. reg-tests: - $(Q)./scripts/run-regtests.sh --LEVEL "$$LEVEL" $(REGTEST_ARGS) $(REG_TEST_FILES) + $(Q)./scripts/run-regtests.sh --LEVEL "$(LEVEL)" $(REGTEST_ARGS) $(REG_TEST_FILES) .PHONY: $(REGTEST_ARGS) reg-tests-help: