forked from lix-project/lix
Close stdin while running tests
For some reason, the bash shell started by 'nix develop' sometimes reads from stdin, which can hang.
This commit is contained in:
parent
3156560d41
commit
50a8710ed1
|
@ -8,7 +8,7 @@ define run-install-test
|
|||
|
||||
.PHONY: $1.test
|
||||
$1.test: $1 $(test-deps)
|
||||
@env TEST_NAME=$(notdir $(basename $1)) TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1
|
||||
@env TEST_NAME=$(notdir $(basename $1)) TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1 < /dev/null
|
||||
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in a new issue