Skip to content

Commit b79143c

Browse files
committed
one test is not always supported.
1 parent 39acd27 commit b79143c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ jobs:
4646
fail-fast: false
4747
matrix:
4848
os: [macos-latest, ubuntu-latest]
49-
# TODO: Test with Bazel 8 after https://github.com/bazelbuild/bazel/pull/24154 has been released.
50-
bazel_version: [7.x, latest] # Minimum supported Bazel version is 7.x
49+
bazel_version: [7.x, latest]
5150
bzlmod: [true, false]
5251
runs-on: ${{ matrix.os }}
5352
steps:

tests/scripts/run_toolchain_tests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,9 @@ if [[ -z "${common_test_args:-}" ]]; then
4545
common_test_args=()
4646
fi
4747

48+
if [[ "${USE_BAZEL_VERSION}" == "7.x" ]] || [[ "${USE_BZLMOD}" == "false" ]]; then
49+
targets+=("-//toolchain/internal:llvm_distributions_select_no_error_test")
50+
fi
51+
4852
"${bazel}" ${TEST_MIGRATION:+"--strict"} --bazelrc=/dev/null test \
49-
"${common_test_args[@]}" "${test_args[@]}" "${targets[@]}"
53+
"${common_test_args[@]}" "${test_args[@]}" -- "${targets[@]}"

0 commit comments

Comments
 (0)