nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8789a2d
)
benchmarks/polygons: check failures at the end of the script
author
Jean Privat
<jean@pryen.org>
Tue, 15 Sep 2015 20:06:27 +0000
(16:06 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 15 Sep 2015 23:55:53 +0000
(19:55 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
benchmarks/polygons/nit/bench_polygon.sh
patch
|
blob
|
history
diff --git
a/benchmarks/polygons/nit/bench_polygon.sh
b/benchmarks/polygons/nit/bench_polygon.sh
index
52895e9
..
8b7fc08
100755
(executable)
--- a/
benchmarks/polygons/nit/bench_polygon.sh
+++ b/
benchmarks/polygons/nit/bench_polygon.sh
@@
-166,3
+166,9
@@
case "$1" in
contain) shift; bench_contain $@;;
*) usage; exit;;
esac
contain) shift; bench_contain $@;;
*) usage; exit;;
esac
+
+if test -n "$died"; then
+ echo "Some commands failed"
+ exit 1
+fi
+exit 0