diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-08-12 05:14:55 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-08-12 05:14:55 +0000 |
commit | c497f1155bf0207e5b05911e2cdd2c2a1eb38416 (patch) | |
tree | e7f73eca46206811df2ee59d440214f022d2d319 /tcwg_gnu-build.sh | |
parent | 20e2926aaba2ca090eae7546fb94d6ea23f24941 (diff) |
tcwg_gnu-build.sh: Set rr[components] correctly
Change-Id: If43f446b3199ea3a5741aef913c7eb425d4b475a
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-x | tcwg_gnu-build.sh | 10 |
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 |