chiark / gitweb /
Testing: Makefile: always redirect stdin from /dev/null
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 29 Oct 2015 02:07:33 +0000 (02:07 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 Nov 2015 21:08:39 +0000 (21:08 +0000)
make -j does this for all but the first job anyway.  If we do it
ourselves we will catch sooner ant silly bugs where we read from
stdin.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/Makefile

index 2d8bb47e4475b64d8c123374bf88dd349fcf8050..2d17a0978116a8e03795bbac6ccb287fc29a6409 100644 (file)
@@ -9,4 +9,4 @@ CHECKS := $(addprefix check-,$(TESTS))
 all check: $(CHECKS)
 
 check-%: %.at
-       @ set -e; cd ..; tests/autotest tests/$^
+       @ set -e; cd ..; tests/autotest tests/$^ </dev/null