summaryrefslogtreecommitdiff
path: root/round-robin-bisect.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-20 07:56:24 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-20 09:04:25 +0000
commit60db991ac6b6e3404d076c0c50208462fd024ba6 (patch)
tree81c3929fa56ecfdda20b81c0a30488a03f3a81ff /round-robin-bisect.sh
parent7b4925acaa64ef9556529e33478fa8ec938bbe6a (diff)
round-robin-bisect.sh: Move handling of one of the edge case here
... so that we do not need to initialize baseline remote in normal builds. Change-Id: Ifd91af394b5e1c2db59cede4c5b03e0328520ea2
Diffstat (limited to 'round-robin-bisect.sh')
-rwxr-xr-xround-robin-bisect.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh
index f08e9a77..6a8dc817 100755
--- a/round-robin-bisect.sh
+++ b/round-robin-bisect.sh
@@ -220,6 +220,13 @@ cat <<EOF | manifest_out
declare -g bad_rev=$bad_rev
EOF
+if [ x"$baseline_rev" = x"$bad_rev" ]; then
+ echo "WARNING: Detected regression with no change in sources of $current_project"
+ sed -i -e "s/\$/-no_change/" $artifacts/jenkins/build-name
+ trap "" EXIT
+ exit 1
+fi
+
# Confirm regression in $bad_rev vs $baseline_rev.
git checkout --detach $bad_rev
$artifacts/test.sh &