summaryrefslogtreecommitdiff
path: root/tcwg_gnu-build.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2019-04-18 14:02:46 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2019-06-10 15:45:48 +0000
commitf89ee5760ce89f3a1b785d34c3e340eeaaa022f4 (patch)
tree0002c043cb913fe32384049b7ed37bee050b1b4e /tcwg_gnu-build.sh
parentdddda8e6d5843053522a8e86664fe0c960ae3033 (diff)
round-robin.sh, tcwg_gnu-build.sh: build and check binutils
This patch uses ABE to build and check binutils. However, ABE ignores 'make check' status, and we want to check regressions compared to previous results anyway. This needs to be implemented later. Change-Id: I33ed3585e85f72d56eeb54ddf276d5bb7b07fc38
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-xtcwg_gnu-build.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh
index 2aeed4be..f8b11ec1 100755
--- a/tcwg_gnu-build.sh
+++ b/tcwg_gnu-build.sh
@@ -25,7 +25,9 @@ IFS=- read -a ci_config <<EOF
${rr[ci_config]}
EOF
rr[target]="native"
-bootstrap_config=${bootstrap_config-${ci_config[3]}}
+# type_of_test contains the type of action to perform in this test
+# campaign: bootstrap, bootstrap_lto, check-binutils, ....
+type_of_test=${bootstrap_config-${ci_config[3]}}
rr[components]="gcc"
# Use baseline branches by default.
@@ -54,7 +56,8 @@ case "${rr[mode]}" in
;;
"bisect")
case "$(print_single_updated_component)" in
- gcc) default_start_at="build_abe-$bootstrap_config" ;;
+ binutils) default_start_at="build_abe-check-binutils" ;;
+ gcc) default_start_at="build_abe-$type_of_test" ;;
*) assert false ;;
esac
default_finish_at="check_regression"
@@ -101,7 +104,7 @@ no_regression_p ()
run_step stop_on_fail -10 reset_artifacts
run_step stop_on_fail x prepare_abe
-run_step skip_on_fail -5 build_abe ${bootstrap_config}
+run_step skip_on_fail -5 build_abe ${type_of_test}
run_step reset_on_fail x check_regression
run_step stop_on_fail x update_baseline
run_step stop_on_fail x push_baseline