Skip to content

Commit

Permalink
Perform setup_clean_workspace before queries (#2300)
Browse files Browse the repository at this point in the history
This is needed once we are using Bzlmod

Signed-off-by: Brentley Jones <github@brentleyjones.com>
  • Loading branch information
brentleyjones authored Oct 18, 2023
1 parent dc17c01 commit 45258b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/bazel_testrunner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ export EXTRA_BUILD_OPTIONS=( "$@" ); shift $#

echo "Applying extra options to each build: ${EXTRA_BUILD_OPTIONS[*]:-}" > "$TEST_log"

setup_clean_workspace

# Try to find the desired version of Xcode installed on the system. If it's not
# present, fallback to the most recent version currently installed and warn the
# user that results might be affected by this. (This makes it easier to support
Expand All @@ -178,7 +180,5 @@ if [[ -z "$XCODE_QUERY" ]]; then
printf "of Xcode.\n" >> "$TEST_log"
fi
setup_clean_workspace
source "$(rlocation build_bazel_rules_apple/test/apple_shell_testutils.sh)"
source "$(rlocation build_bazel_rules_apple/test/${test_script})"

0 comments on commit 45258b3

Please sign in to comment.