summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-02 15:05:55 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-02 15:05:55 +0000
commit488650195405f168172e9d774d2d3868aee3ab3f (patch)
treeb6a917e389445acfd75dd2280950c8190dd5c9e6
parentf54b334625acff0e8ecbeeb36539c759ae3e6089 (diff)
downloadjenkins-scripts-488650195405f168172e9d774d2d3868aee3ab3f.tar.gz
tcwg_bmk-build.sh: Update parameters to benchmark()
Change-Id: I2a54ef4a1c7261f3fe20cee1a5febaf589b28351
-rwxr-xr-xtcwg_bmk-build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh
index 8f211f6f..047006c4 100755
--- a/tcwg_bmk-build.sh
+++ b/tcwg_bmk-build.sh
@@ -195,7 +195,7 @@ benchmark ()
(
set -euf -o pipefail
- local bmk_cflags="$1"
+ local bmk_cflags="$2"
local results_id_file="$3"
sanity_check_pwd
@@ -696,8 +696,8 @@ case "${#cflags[@]}" in
# Don't bisect benchmark build/run failures in *-vs-* configurations.
# Bisections happen only for regressions with build scores >=0,
# which will happen if benchmark "${cflags[1]}" succeeds.
- run_step skip_on_fail -1 benchmark "${cflags[0]}" -- ${rr[top_artifacts]}/results_id-1
- run_step skip_on_fail 0 benchmark "${cflags[1]}" -- ${rr[top_artifacts]}/results_id-2
+ run_step skip_on_fail -1 benchmark -- "${cflags[0]}" ${rr[top_artifacts]}/results_id-1
+ run_step skip_on_fail 0 benchmark -- "${cflags[1]}" ${rr[top_artifacts]}/results_id-2
# Set final "build" score to "1" for compatibility with older results
run_step skip_on_fail 1 true
# shellcheck disable=SC2154
@@ -708,7 +708,7 @@ case "${#cflags[@]}" in
# Bisect benchmark build/run failures in non-vs configurations.
# Set score to "0" with "true".
run_step skip_on_fail 0 true
- run_step skip_on_fail 1 benchmark "${cflags[0]}" -- ${rr[top_artifacts]}/results_id
+ run_step skip_on_fail 1 benchmark -- "${cflags[0]}" ${rr[top_artifacts]}/results_id
rr[no_regression_p]=no_regression_to_base_p
run_step reset_on_fail x check_regression
;;