summaryrefslogtreecommitdiff
path: root/run/tests
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-24 12:24:05 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-24 12:24:05 +0100
commit2c8270716ac21c05b5f7ce0e45096a1e9e62a619 (patch)
tree9d757922c86a992d70ce58fc5fe04eca97c71850 /run/tests
parentdb536bd9f9f16b79286c5f0bb54d0f283050f7dd (diff)
Missing exit
Diffstat (limited to 'run/tests')
-rwxr-xr-xrun/tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/run/tests b/run/tests
index dc1382ce..4bc3e5f3 100755
--- a/run/tests
+++ b/run/tests
@@ -28,6 +28,10 @@ elif [ "$1" == "--callgrind" ]; then
valgrind --tool="callgrind" $work/tests $private $*
else
$work/tests $private $*
+ if [ "$?" != "0" ]; then
+ echo "FAIL: unit tests"
+ exit 1
+ fi
fi
# Check a MXF written by the unit tests