Open
Description
Auto-registering revision names as check prefix is a bit sketchy, and that having to pass
--allow-unused-prefix
is an unfortunate side-effect of not knowing whether the test author actually wanted revision-specific check prefixes or not.
With the current scheme where compiletest //@ revisions
imply FileCheck prefixes of the same names, we can't distinguish between whether the author wanted to:
- Use compiletest revisions but ONLY for compiletest directive purposes.
- Use compiletest revisions but ONLY for filecheck prefix purposes.
- Use compiletest revisions for BOTH purposes.
We might want to investigate splitting these orthogonal concepts and have something like //@ filecheck-prefixes: XXX
register FileCheck prefixes separately.
Marked as E-hard as this will take quite a bit of investigation/design, and E-tedious as this probably involves updating a whole bunch of tests, and I don't have the bandwidth to mentor.
Metadata
Metadata
Assignees
Labels
Area: The compiletest test runnerArea: The testsuite used to check the correctness of rustcCategory: PRs that clean code up or issues documenting cleanup.Call for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: An issue involves lots of work and is better handled as many small tasks.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Projects
Status
Backlog