From 2eb97065de86a7d8c4e58e2e34c89cb1f6b4266f 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?= Date: Mon, 8 Apr 2024 16:05:42 +0100 Subject: [PATCH 1/2] compiletest: specify which special env var and which particular CI job --- src/tests/headers.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tests/headers.md b/src/tests/headers.md index fe74eb915..bfba1db05 100644 --- a/src/tests/headers.md +++ b/src/tests/headers.md @@ -168,8 +168,9 @@ 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. From 94d7c70ed451ef4af7cf2f72f2e494c87a169377 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?= Date: Mon, 8 Apr 2024 19:50:45 +0100 Subject: [PATCH 2/2] compiletest: fix grammar and add link to Dockerfile --- src/tests/headers.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tests/headers.md b/src/tests/headers.md index bfba1db05..143f375c1 100644 --- a/src/tests/headers.md +++ b/src/tests/headers.md @@ -168,15 +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 - `RUSTBUILD_FORCE_CLANG_BASED_TESTS` is set - (which is only done in one CI job `x86_64-gnu-debug`). + 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