summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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