-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Ignore more failing ui tests for GCC backend #147058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Some changes occurred in tests/ui/sanitizer cc @rcvalle This PR modifies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be cool to have a way of ignoring "ignore-backends", so that we can run these tests using the GCC backend in the future and quickly see which one of them still fail.
//@ proc-macro: ver-cfg-rel.rs | ||
//@ revisions: assume no_assume | ||
//@ [assume]compile-flags: -Z assume-incomplete-release | ||
//@ ignore-backends: gcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are multiple revisions, we just copy-paste the same @ignore-backends
line N times? That seems weird, huh.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, my script just went wrong. Gonna send a fix, good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol, I genuinely thought that it was too specific to be an accident xD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly no. ^^'
Don't confuse my incompetence with weird test setting. 😆
This comment has been minimized.
This comment has been minimized.
a19b623
to
6aa2d20
Compare
I can add a new option for that if you want? :) |
I meant it as a possible future improvement, definitely not a blocker for this PR. You can r=me once CI is green. |
Opening an issue for the new option then. |
This comment has been minimized.
This comment has been minimized.
Are there any commonalities here that would avoid annotating so many tests? Just looking at the diffs, can we disable needs-unwind and proc-macro tests with codegen_gcc? Or does only some subset of those have to be disabled? Generally I'd expect ignores like this to include a comment on why we're ignoring that test. For some of these it's pretty clear, but for others its not. The distinction between "we're ignoring this for now because of a codegen_gcc bug" and "we're ignoring this because codegen_gcc doesn't implement this feature" and "we're ignoring this because this is testing LLVM-specific behavior" is important. |
At this point it's hard to say. What I'm trying to achieve here is to run the tests that we know are supported by the GCC backend first so we solve our immediate issues with the GCC/rustc syncs. Then from there we can go through the ignored tests for GCC to check if it's a bug or simply something specific to LLVM. |
6aa2d20
to
3614458
Compare
This comment has been minimized.
This comment has been minimized.
3614458
to
5e5630c
Compare
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
5e5630c
to
a535c7b
Compare
@bors r=Kobzol rollup |
…s, r=Kobzol Ignore more failing ui tests for GCC backend Needed for rust-lang#146414. r? `@Kobzol`
Rollup of 10 pull requests Successful merges: - #145113 (resolve: Do not finalize shadowed bindings) - #146523 (Demote both armebv7r-none-* targets.) - #146704 (port `#[debugger_visualizer]` to the new attribute system) - #146758 (Stop linking rs{begin,end} objects on x86_64-*-windows-gnu) - #146778 (Use standard attribute logic for allocator shim) - #146849 (Reduce some uses of `LegacyBang`) - #147016 (fix doc comments to be more standard) - #147027 (Add new `tyalias` intra-doc link disambiguator) - #147031 (mbe: Simplify check_redundant_vis_repetition) - #147058 (Ignore more failing ui tests for GCC backend) Failed merges: - #147046 (Rename `rust.use-lld` to `rust.bootstrap-override-lld`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 10 pull requests Successful merges: - #145113 (resolve: Do not finalize shadowed bindings) - #146523 (Demote both armebv7r-none-* targets.) - #146704 (port `#[debugger_visualizer]` to the new attribute system) - #146758 (Stop linking rs{begin,end} objects on x86_64-*-windows-gnu) - #146778 (Use standard attribute logic for allocator shim) - #146849 (Reduce some uses of `LegacyBang`) - #147016 (fix doc comments to be more standard) - #147027 (Add new `tyalias` intra-doc link disambiguator) - #147031 (mbe: Simplify check_redundant_vis_repetition) - #147058 (Ignore more failing ui tests for GCC backend) Failed merges: - #147046 (Rename `rust.use-lld` to `rust.bootstrap-override-lld`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 10 pull requests Successful merges: - rust-lang/rust#145113 (resolve: Do not finalize shadowed bindings) - rust-lang/rust#146523 (Demote both armebv7r-none-* targets.) - rust-lang/rust#146704 (port `#[debugger_visualizer]` to the new attribute system) - rust-lang/rust#146758 (Stop linking rs{begin,end} objects on x86_64-*-windows-gnu) - rust-lang/rust#146778 (Use standard attribute logic for allocator shim) - rust-lang/rust#146849 (Reduce some uses of `LegacyBang`) - rust-lang/rust#147016 (fix doc comments to be more standard) - rust-lang/rust#147027 (Add new `tyalias` intra-doc link disambiguator) - rust-lang/rust#147031 (mbe: Simplify check_redundant_vis_repetition) - rust-lang/rust#147058 (Ignore more failing ui tests for GCC backend) Failed merges: - rust-lang/rust#147046 (Rename `rust.use-lld` to `rust.bootstrap-override-lld`) r? `@ghost` `@rustbot` modify labels: rollup
Needed for #146414.
r? @Kobzol