summaryrefslogtreecommitdiff
path: root/round-robin.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-01-15 15:08:36 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-01-17 07:43:18 +0000
commita8f13708d1f26368c29f375d1375461a393da48c (patch)
treebd9b6645bedf65e0ad798da753847e638860f953 /round-robin.sh
parent42e99f8d0d715ab727e6efbab9cc5486d0d4a739 (diff)
round-robin.sh: Report build regression only if build result is worse than reference
Fix no_build_regression_p such that it also returns 0 if new and reference results are equal (without this patch the code does not reach a return statement). Change-Id: If9b043e7872c1b2379051f797758b465ee4e6cd6
Diffstat (limited to 'round-robin.sh')
-rw-r--r--round-robin.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/round-robin.sh b/round-robin.sh
index bfa625f3..2f37cbfd 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -482,9 +482,8 @@ no_build_regression_p ()
if [ $build_result_new -lt $build_result_ref ]; then
return 1
- elif [ $build_result_new -gt $build_result_ref ]; then
- return 0
fi
+ return 0
)
}