aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2020-07-02 17:15:02 +0200
committerregnat <rg@regnat.ovh>2020-07-03 09:20:01 +0200
commit5101ed18bca509a8cf43668b0701afad90c5c9c4 (patch)
tree098bad7b897ab503957e54f834b5bffa833b81ae /mk
parent5596f879b43c20e5115d7bf9fddb70cdeec78988 (diff)
Fix the test dependencies
Reuse the pre-existing list rather than the one written as part of #3777
Diffstat (limited to 'mk')
-rw-r--r--mk/tests.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/tests.mk b/mk/tests.mk
index e2258ede6..e6bd1ad79 100644
--- a/mk/tests.mk
+++ b/mk/tests.mk
@@ -1,10 +1,13 @@
# Run program $1 as part of ‘make installcheck’.
+
+test-deps =
+
define run-install-test
installcheck: $1.test
.PHONY: $1.test
- $1.test: $1 tests/common.sh tests/init.sh
+ $1.test: $1 $(test-deps)
@env TEST_NAME=$1 TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1
endef