summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2017-12-13 15:58:32 +0100
committerJoakim Sindholt <opensource@zhasha.com>2017-12-13 15:58:32 +0100
commitbaf5b619841bba34e667236e81e725efefecf183 (patch)
tree5c50db8def096c9b4132f1a1c222e1bf478e65d7
parent703beabedf1b17c71bb616e52ada89884fa7413e (diff)
mktest: stop after a failed test, and properly report success
-rw-r--r--mktest3
1 files changed, 2 insertions, 1 deletions
diff --git a/mktest b/mktest
index 536427c..ed929a8 100644
--- a/mktest
+++ b/mktest
@@ -19,5 +19,6 @@ install:V: all
run:V: $PROGS
for t in $TARG; do
echo Running "$t"
- ./$O."$t"
+ ./$O.$t || exit 1
done
+ echo "All tests passed"