File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -546,10 +546,12 @@ benchmark-comparison)
546546 clean
547547 LIT_ARGS=" -sv -j1 --param optimization=speed libcxx/test/benchmarks/hash.bench.cpp libcxx/test/benchmarks/join_view.bench.cpp"
548548
549- baseline_commit=$( git merge-base main HEAD)
550- step " Building and running the baseline at ${baseline_commit} "
549+ if [[ " ${BASELINE_COMMIT} " == " " ]]; then
550+ BASELINE_COMMIT=$( git merge-base main HEAD)
551+ fi
552+ step " Building and running the baseline at ${BASELINE_COMMIT} "
551553 rm -rf " ${BUILD_DIR} -baseline"
552- ./libcxx/utils/test-at-commit --commit ${baseline_commit } -B " ${BUILD_DIR} -baseline" -- ${LIT_ARGS}
554+ ./libcxx/utils/test-at-commit --commit ${BASELINE_COMMIT } -B " ${BUILD_DIR} -baseline" -- ${LIT_ARGS}
553555
554556 # Build and run the candidate
555557 step " Building and running the candidate"
You can’t perform that action at this time.
0 commit comments