summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index feb0089ff..4a475d826 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -20,8 +20,10 @@ echo
echo "---------------------------------------------------------------------"
if [ $res -eq 0 ]; then
echo " All $count tests PASSED"
+ res=0
else
echo " $res tests of $count FAILED"
+ res=1
fi
echo "---------------------------------------------------------------------"
-
+exit $res