nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitunit: show a progress bar
[nit.git]
/
benchmarks
/
bench_common.sh
diff --git
a/benchmarks/bench_common.sh
b/benchmarks/bench_common.sh
index
c7dad6d
..
dfdbc6b
100644
(file)
--- a/
benchmarks/bench_common.sh
+++ b/
benchmarks/bench_common.sh
@@
-55,6
+55,7
@@
function bench_command()
) || { err=$?; failed=true; die "$1: failed with $err"; }
echo -n "$i. "
tail -n 1 "$timeout"
+ test -n "$failed" && break
done
line=`compute_stats "$timeout"`