Repository navigation
//@ needs-matching-clang is misleading #126180
Copy link
Copy link
Closed
Labels
A-compiletestArea: The compiletest test runnerArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Description
Activity
- addedneeds-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triagingThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triagingA-compiletestArea: The compiletest test runnerArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustc
on Jun 9, 2024 For example, this might have caused the test added by #116264 to never actually run in CI.
- changed the title
[-]`needs-matching-clang` is misleading[/-][+]`//@ needs-matching-clang` is misleading[/+]on Jun 9, 2024 Looks like there are a few tests that are broken, as a result of not actually being run in CI:
- addedT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.C-bugCategory: This is a bug.Category: This is a bug.and removedneeds-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triagingThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
on Jun 9, 2024 - added a commit that references this issue
on Jun 11, 2024 - added 4 commits that reference this issue
on Aug 1, 2024
Metadata
Metadata
Assignees
Labels
A-compiletestArea: The compiletest test runnerArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Via #126155, I discovered that the
//@ needs-matching-clangcompiletest header is a lot more strict than one might assume from its name.Tests with this header are not run by default, regardless of whether a “matching clang” is available or not. Instead, they only run if environment variable
RUSTBUILD_FORCE_CLANG_BASED_TESTSis set.The only test job that sets this variable is
x86_64-gnu-debug, but that job currently doesn't actually run any tests! (Though that might change as a result of #126155.)@rustbot label +A-compiletest +A-testsuite