summaryrefslogtreecommitdiff
path: root/tcwg_gnu-build.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-05-27 13:10:22 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-05-27 13:10:22 +0000
commitaf9262135bda922d52e2c36bafcc21b9f96897a2 (patch)
tree9de68a847cdfcf17e48701733d764f2fd4a8eee5 /tcwg_gnu-build.sh
parent7003b6b9813245d78ae84daeef16fd9df86b661d (diff)
tcwg_gnu-build.sh: Fix detection of build failure
Right now when bootstrap fails we get score "0" from reset_artifacts, and when bootstrap succeeds, but tests fail, we get same "0" from "build_abe bootstrap". This makes us ignore bootstrap failures. Fix by assigning reset_artifacts "-1" score. Change-Id: I021c7f2c987634cde0a8052191955ac7c8a05f2e
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-xtcwg_gnu-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh
index 24c5c44c..3a55b548 100755
--- a/tcwg_gnu-build.sh
+++ b/tcwg_gnu-build.sh
@@ -131,7 +131,7 @@ no_regression_p ()
)
}
-run_step stop_on_fail 0 reset_artifacts
+run_step stop_on_fail -1 reset_artifacts
run_step stop_on_fail x prepare_abe
run_step skip_on_fail 0 build_abe ${type_of_test}
run_step skip_on_fail 1 build_abe ${type_of_test} "check"