From: Jean Privat Date: Tue, 15 Sep 2015 20:06:27 +0000 (-0400) Subject: benchmarks/polygons: check failures at the end of the script X-Git-Tag: v0.7.8~15^2~4 X-Git-Url: http://nitlanguage.org benchmarks/polygons: check failures at the end of the script Signed-off-by: Jean Privat --- diff --git a/benchmarks/polygons/nit/bench_polygon.sh b/benchmarks/polygons/nit/bench_polygon.sh index 52895e9..8b7fc08 100755 --- 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