summaryrefslogtreecommitdiff
path: root/tcwg_gnu-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-xtcwg_gnu-build.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh
index 03aae496..28fd2f78 100755
--- a/tcwg_gnu-build.sh
+++ b/tcwg_gnu-build.sh
@@ -11,20 +11,16 @@ scripts=$(dirname $0)
convert_args_to_variables "$@"
obligatory_variables rr[ci_config]
+declare -A rr
# Execution mode: baseline, bisect, jenkins-full
-# shellcheck disable=SC2154
rr[mode]="${rr[mode]-baseline}"
# Set custom revision for one of the projects, and use baseline revisions
# for all other projects.
-# shellcheck disable=SC2154
rr[ci_project]="${rr[ci_project]-tcwg_gnu}"
-# shellcheck disable=SC2154
rr[baseline_branch]="${rr[baseline_branch]-linaro-local/ci/${rr[ci_project]}/${rr[ci_config]}}"
-# shellcheck disable=SC2154
rr[update_baseline]="${rr[update_baseline]-update}"
-# shellcheck disable=SC2154
rr[top_artifacts]="${rr[top_artifacts]-$(pwd)/artifacts}"
# Resolve top_artifacts to absolute dir because some of the subsequent
@@ -36,16 +32,13 @@ rr[top_artifacts]=$(abs_path "${rr[top_artifacts]}")
IFS=- read -a ci_config <<EOF
${rr[ci_config]}
EOF
-# shellcheck disable=SC2154
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=${type_of_test-${ci_config[3]}}
case "$type_of_test" in
- check_binutils)
- # shellcheck disable=SC2154
- rr[components]="binutils" ;;
+ check_binutils) rr[components]="binutils" ;;
*) rr[components]="gcc" ;;
esac