summaryrefslogtreecommitdiff
path: root/tcwg_gnu-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-xtcwg_gnu-build.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh
index 36fd0326..e1a3e418 100755
--- a/tcwg_gnu-build.sh
+++ b/tcwg_gnu-build.sh
@@ -20,15 +20,19 @@ rr[baseline_branch]="${rr[baseline_branch]-linaro-local/ci/${rr[ci_project]}/${r
rr[update_baseline]="${rr[update_baseline]-update}"
rr[top_artifacts]="${rr[top_artifacts]-$(pwd)/artifacts}"
-# {toolchain_name}-{toolchain_ver}-{target}-{bootstrap_config}
+# {toolchain_name}-{toolchain_ver}-{target}-{type_of_test}
IFS=- read -a ci_config <<EOF
${rr[ci_config]}
EOF
rr[target]="native"
# 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"
+type_of_test=${type_of_test-${ci_config[3]}}
+
+case "$type_of_test" in
+ check_binutils) rr[components]="binutils" ;;
+ *) rr[components]="gcc" ;;
+esac
# Use baseline branches by default.
for c in ${rr[components]}; do