nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c523938
)
bench_common: do not reexecute failed commands
author
Jean Privat
<jean@pryen.org>
Wed, 23 Mar 2016 20:25:56 +0000
(16:25 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 23 Mar 2016 20:28:53 +0000
(16:28 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
benchmarks/bench_common.sh
patch
|
blob
|
history
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"`