diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-05-29 15:20:21 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-05-29 15:24:37 +0000 |
commit | 75019552b97c7ca46083dacf80789df24faf5a92 (patch) | |
tree | 45b7da23c2f8cd50154eb0f4af01d21160a93beb /round-robin.sh | |
parent | db1c5bf29c63069c7a6d728dcc44c91588d5cb9b (diff) |
round-robin.sh: Use implicit baseline when triggering bisect
Change-Id: Ide6dbb22152a5096ba21667f497f2571384579de
Diffstat (limited to 'round-robin.sh')
-rw-r--r-- | round-robin.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/round-robin.sh b/round-robin.sh index 957ce44c..e5a1164a 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -592,9 +592,14 @@ No reason to rebase base-artifacts." baseline_rev=$(git_rev_parse_long $single_component ${rr[baseline_branch]} baseline) 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 <<EOF current_project=$single_component -baseline_branch=$baseline_rev +bad_url=${rr[${single_component}_url]} bad_branch=$cur_rev EOF if [ -f $run_step_artifacts/extra-bisect-params ]; then |