From 61c1e8348454499f0b363b852a6a94f998df9fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Mon, 8 Apr 2024 20:00:54 +0100 Subject: [PATCH] compiletest: specify which special env var and which particular CI job (#1960) * compiletest: specify which special env var and which particular CI job * compiletest: fix grammar and add link to Dockerfile --- src/tests/headers.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tests/headers.md b/src/tests/headers.md index fe74eb915..143f375c1 100644 --- a/src/tests/headers.md +++ b/src/tests/headers.md @@ -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