Skip to content

Commit

Permalink
SnabbBot: Do not ERROR when a benchmark fails for both BASE and HEAD.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Oct 27, 2015
1 parent 98f0b6e commit cf06995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/snabb_bot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ BEGIN {
}
{ if ($2+0 != 0) { ratio = $5 / $2; } else { ratio = $5; }
if (ratio < minratio) {
if ((ratio < minratio) && ($2+0 != 0)) {
print "ERROR", $1, "->", ratio, "of", $2, "(SD:", $3, ")";
} else {
print "BENCH", $1, "->", ratio, "of", $2, "(SD:", $3, ")";
Expand Down

0 comments on commit cf06995

Please sign in to comment.