summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2016-01-07 18:29:50 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2016-01-07 18:29:50 +0100
commitae7e47a8e32429fb965c3e640bd39f7e5f2edfe8 (patch)
tree00d6efa4ba71fb25f247ba91ec5d1ea9a72c7f34
parent5852274421c22a2fec5fa92b1684a3785887d0b3 (diff)
compare_jobs.sh: Exit with status=1 in case of regression or build failure.
Change-Id: I4542116d9903ce70a4df17280e63af8690bf28f1
-rwxr-xr-xcompare_jobs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/compare_jobs.sh b/compare_jobs.sh
index 20ea2f0..3684717 100755
--- a/compare_jobs.sh
+++ b/compare_jobs.sh
@@ -209,10 +209,12 @@ do
2) # Regression
color=red
message=FAILED
+ failed=true
;;
3) # Build failed
color=darkred
message=BUILDFAILED
+ failed=true
esac
${failed} && status=1