nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
benchmarks/polygons: check failures at the end of the script
[nit.git]
/
benchmarks
/
polygons
/
nit
/
bench_polygon.sh
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
+
+if test -n "$died"; then
+ echo "Some commands failed"
+ exit 1
+fi
+exit 0