From 60db991ac6b6e3404d076c0c50208462fd024ba6 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Tue, 20 Jul 2021 07:56:24 +0000 Subject: 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 --- round-robin-bisect.sh | 7 +++++++ round-robin.sh | 10 +--------- 2 files changed, 8 insertions(+), 9 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 </dev/null; then # Bisect failures in all steps after "-1" step. - local baseline_rev cur_rev - baseline_rev=$(git_rev_parse_long $single_component ${rr[baseline_branch]} baseline) & - # Baseline branch may not exist, so don't fail if it's not found. - wait $! || baseline_rev="" + local cur_rev cur_rev=$(git -C $single_component rev-parse HEAD) - if [ x"$baseline_rev" = x"$cur_rev" ]; then - echo "WARNING: Detected regression with no change in sources of $single_component" - false - fi - cat > $trigger_dest/trigger-bisect <