Skip to content

Commit

Permalink
bench_common: do not reexecute failed commands
Browse files Browse the repository at this point in the history
Signed-off-by: Jean Privat <[email protected]>
  • Loading branch information
privat committed Mar 23, 2016
1 parent c523938 commit c77d421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/bench_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit c77d421

Please sign in to comment.