diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-03-01 14:48:51 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-03-06 12:44:18 +0000 |
commit | f485286530fcd4ad956edd30bf798d19bb300aad (patch) | |
tree | 6038336e6fbb3cbbe912f79c2ae86809a8b506df | |
parent | 80ad925f2361f9758e30a5931ff2fd837ae04904 (diff) |
tcwg_bmk-build.sh: Move results_id to benchmark()
... since we no longer use it in check_regression().
Change-Id: I2014125ee0f17a2ddc43603a626efc69177f4709
-rwxr-xr-x | tcwg_bmk-build.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index 082ef32f..c0b62984 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -45,13 +45,6 @@ finish_at="${finish_at-default}" verbose="${verbose-true}" verbose2="${verbose2-false}" -case "${rr[target]}" in - arm*) hw=tk1 ;; - *) hw=tx1 ;; -esac - -results_id="$hw/${rr[ci_project]}/${rr[ci_config]}-@build_num@" - if $verbose2; then set -x; fi trap "eval \"echo ERROR at \${FUNCNAME[0]}:\${BASH_LINENO[0]}\"" EXIT @@ -120,6 +113,13 @@ benchmark () esac sysroot="ssh://$ssh_host:$ssh_port:$sysroot" + local hw results_id + case "${rr[target]}" in + arm*) hw=tk1 ;; + *) hw=tx1 ;; + esac + local results_id="@hw_type@/${rr[ci_project]}/${rr[ci_config]}-@build_num@" + remote_exec "ci.linaro.org:2222::-l $USER@linaro.org" \ build tcwg-benchmark -s -v \ -p bench_list="$bench_list" \ |