Allow ui_test style headers in compiletest#114072
Allow ui_test style headers in compiletest#114072asquared31415 wants to merge 8 commits intorust-lang:masterfrom
Conversation
|
Changes to the code generated for builtin derived traits. cc @nnethercote These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 |
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #114076) made this pull request unmergeable. Please resolve the merge conflicts. |
oli-obk
left a comment
There was a problem hiding this comment.
I reviewed up to the point where github wanted me to expand the files.
I guess the only thing is that I'd have preferred the compiletest changes to be in a few individual commits, but I reviewed the entire diff on compiletest itself and it lgtm.
tests/ui/asm/aarch64/type-check-3.rs
Outdated
There was a problem hiding this comment.
These haven't gotten converted
There was a problem hiding this comment.
I hadn't yet implemented the only and ignore things, looking into that now.
tests/ui/asm/aarch64/srcloc.rs
Outdated
There was a problem hiding this comment.
this isn't supported yet in ui-test
tests/ui/asm/x86_64/issue-96797.rs
Outdated
There was a problem hiding this comment.
maybe ui-test should have a way to register custom commands that can be converted to other commands. This command is just changing compiler flags, and only really something the rustc test suite cares about
tests/ui/asm/x86_64/issue-96797.rs
Outdated
There was a problem hiding this comment.
fun. Not sure how to do this yet
There was a problem hiding this comment.
Well you're in luck, most of these got removed :D
(though yes it's still a general issue for migration)
tests/ui/associated-type-bounds/associated-item-through-where-clause.rs
Outdated
Show resolved
Hide resolved
f57331a to
a57841e
Compare
a57841e to
c85c7d4
Compare
src/tools/compiletest/src/runtest.rs
Outdated
|
☔ The latest upstream changes (presumably #114130) made this pull request unmergeable. Please resolve the merge conflicts. |
c85c7d4 to
ae5e93d
Compare
|
☔ The latest upstream changes (presumably #112843) made this pull request unmergeable. Please resolve the merge conflicts. |
ae5e93d to
0e33c33
Compare
|
ping @asquared31415 for a rebase, apart from that who else should have a look. This PR maybe also needs a sign-off from: r? boostrap thanks |
|
Failed to set assignee to
|
|
Failed to set assignee to
|
|
Failed to set assignee to
|
|
@rustbot author Sorry this was not ready for review, there's still lots to do. |
r? @oli-obk
This is a step towards the MCP to replace compiletest rust-lang/compiler-team#536
This PR allows compiletest to accept certain headers that ui_test can understand. Tests that don't use any compiletest-specific features can now be run under ui_test and compiletest.
The second commit changes all the tests to use the new directives.