diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-08-11 20:06:39 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-08-11 20:06:39 +0000 |
commit | bdaaf38b8d5fa3c813228eb7078dc5d6dad078e5 (patch) | |
tree | 274f9737aac91a21579458016f481cc6cad4e23d /tcwg_kernel-build.sh | |
parent | 4a9de24941f3cade7d402d9d858f0c4dc68498c9 (diff) |
tcwg_bmk-build.sh, tcwg_kernel-build.sh: Fix shellcheck warnings
Change-Id: I5878531b2187e0c9ad972d7fcdf643b65ee94ebc
Diffstat (limited to 'tcwg_kernel-build.sh')
-rwxr-xr-x | tcwg_kernel-build.sh | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh index 1b0010da..b912f57f 100755 --- a/tcwg_kernel-build.sh +++ b/tcwg_kernel-build.sh @@ -11,38 +11,29 @@ 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_kernel}" -# 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}" # {toolchain_name}-{toolchain_ver}-{target}-{linux}-{linux_config} IFS=- read -a ci_config <<EOF ${rr[ci_config]} EOF -# shellcheck disable=SC2154 rr[toolchain]=${rr[toolchain]-${ci_config[0]}} -# shellcheck disable=SC2154 rr[release]=${rr[release]-${ci_config[1]}} -# shellcheck disable=SC2154 rr[target]=${rr[target]-${ci_config[2]}} -# shellcheck disable=SC2154 rr[linux_config]=${rr[linux_config]-${ci_config[4]}} case "${rr[toolchain]}" in llvm) - # shellcheck disable=SC2154 rr[components]="binutils llvm linux qemu" ;; gnu) rr[components]="binutils gcc linux qemu" ;; @@ -303,7 +294,6 @@ tcwg_kernel_breakup_updated_components () fi ) } -# shellcheck disable=SC2154 rr[breakup_updated_components]=tcwg_kernel_breakup_updated_components run_step stop_on_fail -10 reset_artifacts |