mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +02:00
Fix the test dependencies
Reuse the pre-existing list rather than the one written as part of #3777
This commit is contained in:
parent
5596f879b4
commit
5101ed18bc
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue