projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db536bd
)
Missing exit
author
Carl Hetherington
<cth@carlh.net>
Fri, 24 Jun 2016 11:24:05 +0000
(12:24 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 24 Jun 2016 11:24:05 +0000
(12:24 +0100)
run/tests
patch
|
blob
|
history
diff --git
a/run/tests
b/run/tests
index dc1382ce25d00d530e22187bc31591f7d6b1f31d..4bc3e5f3f763a909b63584865c97d6475a613e19 100755
(executable)
--- 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