Skip to content

Commit b62867a

Browse files
committed
Fix and update docs for needs-force-clang-based-tests
1 parent 7a46f88 commit b62867a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Diff for: src/tests/headers.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,14 @@ The following header commands will check LLVM support:
177177
* `ignore-llvm-version: 7.0 - 9.9.9` — ignores LLVM versions in a range (inclusive)
178178
* `needs-llvm-components: powerpc` — ignores if the specific LLVM component was not built.
179179
Note: The test will fail on CI (when `COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS` is set) if the component does not exist.
180-
* `needs-forced-clang-based-tests`
181-
test is ignored unless the environment variable `RUSTBUILD_FORCE_CLANG_BASED_TESTS`
182-
is set, which enables building clang alongside LLVM
183-
- This is only set in one CI job ([`x86_64-gnu-debug`]), which only runs a tiny
184-
subset of `run-make` tests. Other tests with this header will not run at all,
185-
which is usually not what you want.
180+
* `needs-force-clang-based-tests` — test is ignored unless the environment
181+
variable `RUSTBUILD_FORCE_CLANG_BASED_TESTS` is set, which enables building
182+
clang alongside LLVM
183+
- This is only set in two CI jobs ([`x86_64-gnu-debug`] and
184+
`aarch64-gnu-debug`), which only runs a tiny subset of `run-make` tests that
185+
contain `clang` in the test name, e.g.
186+
`tests/run-make/cross-lang-lto-clang`. Other tests with this header will not
187+
run at all, which is usually not what you want.
186188

187189
See also [Debuginfo tests](compiletest.md#debuginfo-tests) for headers for
188190
ignoring debuggers.

0 commit comments

Comments
 (0)