diff options
-rwxr-xr-x | tcwg_bmk-build.sh | 8 |
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 ;; |