summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-02-06 00:58:32 -0500
committerOri Bernstein <ori@eigenstate.org>2013-02-06 00:58:32 -0500
commit2f5f1d3d30406b78123e934998a681d90ced60a0 (patch)
treedb2726b86e19e619b2741c0a7a930fe402e2d03a
parentcef9f9cc57105139c4157fdfb14036c724271271 (diff)
downloadmc-2f5f1d3d30406b78123e934998a681d90ced60a0.tar.gz
Print success when all tests pass.
-rwxr-xr-xtest/test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 6b2d611..4b28f11 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -91,4 +91,8 @@ for i in `awk '/^B/{print $0}' tests`; do
P) prints $tst $val ;;
esac
done
-echo "FAILURES ($NFAILED)": $FAILED
+if [ -z "$NFAILED" ]; then
+ echo "SUCCESS"
+else
+ echo "FAILURES ($NFAILED)": $FAILED
+fi