Skip to content

Commit

Permalink
compiletest: specify which special env var and which particular CI job (
Browse files Browse the repository at this point in the history
rust-lang#1960)

* compiletest: specify which special env var and which particular CI job

* compiletest: fix grammar and add link to Dockerfile
  • Loading branch information
jieyouxu authored Apr 8, 2024
1 parent 1b1b3b4 commit 43f390b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tests/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,16 @@ The following header commands will check LLVM support:
Note: The test will fail on CI if the component does not exist.
* `needs-matching-clang` — ignores if the version of clang does not match the
LLVM version of rustc.
These tests are always ignored unless a special environment variable is set
(which is only done in one CI job).
These tests are always ignored unless a special environment variable,
`RUSTBUILD_FORCE_CLANG_BASED_TESTS`, is set
(which is only done in one CI job [`x86_64-gnu-debug`]).

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

[remote testing]: running.md#running-tests-on-a-remote-machine
[compare modes]: ui.md#compare-modes
[`x86_64-gnu-debug`]: https://github.com/rust-lang/rust/blob/ab3dba92db355b8d97db915a2dca161a117e959c/src/ci/docker/host-x86_64/x86_64-gnu-debug/Dockerfile#L32

### Environment variable headers

Expand Down

0 comments on commit 43f390b

Please sign in to comment.