From e1208d97c48d84616a44921bbe633a9396531198 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Sun, 18 Jul 2021 13:22:21 +0000 Subject: round-robin.sh (check_regression): Don't require baseline origin to exist Change-Id: Iec942da0b614d91afe68b59a57c8b5afbd1c14e0 --- round-robin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/round-robin.sh b/round-robin.sh index e61edce5..55664c18 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -653,7 +653,9 @@ No reason to rebase base-artifacts." elif ! [ $score -lt 0 ] 2>/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_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="" cur_rev=$(git -C $single_component rev-parse HEAD) if [ x"$baseline_rev" = x"$cur_rev" ]; then -- cgit v1.2.3