]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Makefile: resolve LEVEL before calling run-regtests
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Mar 2019 16:29:53 +0000 (17:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Mar 2019 16:29:53 +0000 (17:29 +0100)
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.

Makefile

index db7f41917129c232d285c8918349c79abb63df63..c515a754c275fa5537f62d393814dc97577d1b59 100644 (file)
--- 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: