Rename incremental cfail/cpass revisions to bfail/bpass#155474
Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom Apr 20, 2026
Merged
Rename incremental cfail/cpass revisions to bfail/bpass#155474rust-bors[bot] merged 2 commits intorust-lang:mainfrom
cfail/cpass revisions to bfail/bpass#155474rust-bors[bot] merged 2 commits intorust-lang:mainfrom
Conversation
Collaborator
|
The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. Some changes occurred in src/tools/compiletest cc @jieyouxu |
Member
Author
|
Some of these revisions will be renamed back to |
jieyouxu
reviewed
Apr 18, 2026
This comment has been minimized.
This comment has been minimized.
Long ago, UI tests were divided into "compile" and "run" tests. Later, the compile tests were further subdivided into "check" and "build" tests, to speed up tests that don't need a full build. The same split was never applied to incremental test revisions, so the only way to perform a check build in incremental tests is (confusingly) to use a `cfail` revision and then specify `//@ check-fail` or `//@ check-pass`. This PR makes room for dedicated check-fail and check-pass revisions by renaming the existing `cfail` and `cpass` revisions to `bfail` and `bpass`, since they currently perform a full build.
jieyouxu
approved these changes
Apr 20, 2026
Member
There was a problem hiding this comment.
Thanks.
- Checked out locally then rebased against lastest
mainas of time of review, I don't see any newcfail/cpassor missed ones. - The test diffs look right to me.
@bors r+ rollup
Contributor
Member
|
rollup=never p=1 if needed, but IME incremental tests are not changed as often as UI tests, so I don't anticipate needing that. |
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Apr 20, 2026
Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass` Long ago, UI tests were divided into *compile* and *run* tests. Later, the compile tests were further subdivided into *check* and *build* tests, to speed up tests that don't need a full build. The same split was never applied to incremental test revisions, so the only way to perform a check build in incremental tests is (confusingly) to use a `cfail` revision and then specify `//@ check-fail` or `//@ check-pass`. This PR makes room for dedicated check-fail and check-pass revisions by renaming the existing `cfail` and `cpass` revisions to `bfail` and `bpass`, since they currently perform a full build. --- The test updates were done with a regex whole-word find-and-replace for `c(fail|pass)(\d*)`, and I also took the opportunity to manually add a space after `revisions:` on affected lines. r? jieyouxu
rust-bors bot
pushed a commit
that referenced
this pull request
Apr 20, 2026
Rollup of 6 pull requests Successful merges: - #154654 (Move `std::io::ErrorKind` to `core::io`) - #155054 (constify `Index(Mut)`, `Deref(Mut)` for `Vec`) - #155507 (suggest expect instead of unwrap when arg provided) - #154664 (core/num: Implement feature `integer_cast_extras`) - #155474 (Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass`) - #155493 (docs(num): fix stale link to `mem::Alignment`)
Member
rust-bors bot
pushed a commit
that referenced
this pull request
Apr 20, 2026
…uwer Rollup of 10 pull requests Successful merges: - #155054 (constify `Index(Mut)`, `Deref(Mut)` for `Vec`) - #155264 (Add autocast support for `x86amx`) - #155507 (suggest expect instead of unwrap when arg provided) - #154664 (core/num: Implement feature `integer_cast_extras`) - #155238 (compiletest: add a new diff for compare-out-by-lines tests.) - #155474 (Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass`) - #155493 (docs(num): fix stale link to `mem::Alignment`) - #155529 (Remove `AttributeLintKind` variants - part 3) - #155531 (Tweak `is_ascii_punctuation()` docs wording) - #155533 (Provide a const new for `GlobalCache`)
rust-timer
added a commit
that referenced
this pull request
Apr 20, 2026
Rollup merge of #155474 - Zalathar:bpass, r=jieyouxu Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass` Long ago, UI tests were divided into *compile* and *run* tests. Later, the compile tests were further subdivided into *check* and *build* tests, to speed up tests that don't need a full build. The same split was never applied to incremental test revisions, so the only way to perform a check build in incremental tests is (confusingly) to use a `cfail` revision and then specify `//@ check-fail` or `//@ check-pass`. This PR makes room for dedicated check-fail and check-pass revisions by renaming the existing `cfail` and `cpass` revisions to `bfail` and `bpass`, since they currently perform a full build. --- The test updates were done with a regex whole-word find-and-replace for `c(fail|pass)(\d*)`, and I also took the opportunity to manually add a space after `revisions:` on affected lines. r? jieyouxu
github-actions bot
pushed a commit
to rust-lang/rustc-dev-guide
that referenced
this pull request
Apr 20, 2026
…uwer Rollup of 10 pull requests Successful merges: - rust-lang/rust#155054 (constify `Index(Mut)`, `Deref(Mut)` for `Vec`) - rust-lang/rust#155264 (Add autocast support for `x86amx`) - rust-lang/rust#155507 (suggest expect instead of unwrap when arg provided) - rust-lang/rust#154664 (core/num: Implement feature `integer_cast_extras`) - rust-lang/rust#155238 (compiletest: add a new diff for compare-out-by-lines tests.) - rust-lang/rust#155474 (Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass`) - rust-lang/rust#155493 (docs(num): fix stale link to `mem::Alignment`) - rust-lang/rust#155529 (Remove `AttributeLintKind` variants - part 3) - rust-lang/rust#155531 (Tweak `is_ascii_punctuation()` docs wording) - rust-lang/rust#155533 (Provide a const new for `GlobalCache`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Long ago, UI tests were divided into compile and run tests. Later, the compile tests were further subdivided into check and build tests, to speed up tests that don't need a full build.
The same split was never applied to incremental test revisions, so the only way to perform a check build in incremental tests is (confusingly) to use a
cfailrevision and then specify//@ check-failor//@ check-pass.This PR makes room for dedicated check-fail and check-pass revisions by renaming the existing
cfailandcpassrevisions tobfailandbpass, since they currently perform a full build.The test updates were done with a regex whole-word find-and-replace for
c(fail|pass)(\d*), and I also took the opportunity to manually add a space afterrevisions:on affected lines.r? jieyouxu