summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-02-25 13:30:54 -0500
committerOri Bernstein <ori@eigenstate.org>2015-02-25 13:30:54 -0500
commitf8be9d56ee4c744995d00a25f353e72d9fe95a4c (patch)
tree5d87738d9f976a8c3265a89518bf4f485cf9a1e0 /test
parent5818bcb7a0fb78af6a4c2816a72db5b1381e9cac (diff)
downloadmc-f8be9d56ee4c744995d00a25f353e72d9fe95a4c.tar.gz
Make runtest.sh exit with failure if the tests fail.
This means we can chain together testsuites better.
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/runtest.sh b/test/runtest.sh
index c941c15..56e0878 100755
--- a/test/runtest.sh
+++ b/test/runtest.sh
@@ -101,4 +101,5 @@ if [ -z "$NFAILED" ]; then
echo "SUCCESS"
else
echo "FAILURES ($NFAILED): $FAILED"
+ exit 1
fi