summaryrefslogtreecommitdiff
path: root/ezbench.sh
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-07-27 12:22:06 +0100
committerMartin Peres <martin.peres@linux.intel.com>2015-07-27 15:49:52 +0300
commitdf60a6071e9b016fc62b14df60e5159109d410c1 (patch)
tree1f953828b597d95c67229844c2c776caf2d0086b /ezbench.sh
parentbefa3c51a947f9c69b1bd215cce968069a4d4b80 (diff)
Don't add a 0 result to the list for geometric mean processing
Diffstat (limited to 'ezbench.sh')
-rwxr-xr-xezbench.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezbench.sh b/ezbench.sh
index 42cc1cd..dbcf7dd 100755
--- a/ezbench.sh
+++ b/ezbench.sh
@@ -310,7 +310,7 @@ do
color="$meh_color"
fi
printf "%9.2f ($color%+.2f%%$c_reset): %s\n" $result $fpsDiff "$statistics"
- fpsALL="$fpsALL $result"
+ [ -z "$result" ] || fpsALL="$fpsALL $result"
done
# finish with the geometric mean (when we have multiple tests)