mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
50a8710ed1
For some reason, the bash shell started by 'nix develop' sometimes reads from stdin, which can hang.
15 lines
309 B
Makefile
15 lines
309 B
Makefile
# Run program $1 as part of ‘make installcheck’.
|
||
|
||
test-deps =
|
||
|
||
define run-install-test
|
||
|
||
installcheck: $1.test
|
||
|
||
.PHONY: $1.test
|
||
$1.test: $1 $(test-deps)
|
||
@env TEST_NAME=$(notdir $(basename $1)) TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1 < /dev/null
|
||
|
||
endef
|
||
|
||
.PHONY: check installcheck
|