Skip to content

Commit

Permalink
TEMP: Try out new CPU value
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Apr 7, 2022
1 parent ce0c774 commit aa54435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/shell/bazel/cc_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1003,12 +1003,12 @@ cc_binary(
EOF
# As long as the default workspace suffix runs cc_configure the local_config_cc toolchain suite will be evaluated.
# Ensure the fake cc_toolchain_suite target doesn't have any errors.
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 bazel build '@local_config_cc//:toolchain' &>/dev/null || \
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 bazel build '@local_config_cc//:toolchain' &>"$TEST_log" || \
fail "Fake toolchain target causes analysis errors"

# This only shows reliably for query due to ordering issues in how Bazel shows
# errors.
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 bazel query 'deps(//:ok)' &>"$TEST_log" || \
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 bazel query 'deps(//:ok)' &>>"$TEST_log" || \
fail "Should pass with fake toolchain"
expect_not_log "An error occurred during the fetch of repository 'local_config_cc'"
expect_log "@local_config_cc//:empty"
Expand Down

0 comments on commit aa54435

Please sign in to comment.