about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-14 20:57:50 -0400
committerJune McEnroe <june@causal.agency>2018-09-14 20:57:50 -0400
commit835d3a452a3f0774befc818aa08a6446829c0644 (patch)
tree97b9d4cc5bd1201b9142c9710e0a2475b90a29de
parentFail target when any test binary fails (diff)
downloadcatgirl-835d3a452a3f0774befc818aa08a6446829c0644.tar.gz
catgirl-835d3a452a3f0774befc818aa08a6446829c0644.zip
Run test binaries with set -e and semicolons
BSD make behaves oddly when trying to replace with &.
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de9a3f5..938d874 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ chatte: $(OBJS)
 $(OBJS): chat.h
 
 test: $(TESTS)
-	$(TESTS:%=./% &&) true
+	set -e; $(TESTS:%=./%;)
 
 .SUFFIXES: .t