-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
x test compiler/rustc_codegen_{cranelift,gcc}
is not supported
#95518
Comments
For cg_clif there are tests that make sense in-tree I think. However I want to first rewrite my test code from shell scripts to rust before wiring it up to rustbuild. Also I'm not quite sure yet how to actually run the tests when cg_clif is built using rustbuild rather than cg_clif's own build system (which duplicates some of the functionality of rustbuild). |
Sounds good :) I'm happy to help with the "wire it up to rustbuild" part. |
@rustbot label +S-blocked (waiting for bjorn3 to rewrite his shell scripts before spending too much time on this) |
@antoyo what are your thoughts on running test.sh in-tree? I ran
|
@jyn514 That sounds good to me. The Would that be simpler to use upstream GCC 12 instead of compiling GCC? That could be an option (of course, less tests would pass, but that would still be useful). |
Yes, that would be super helpful to cut down on compile times :) Are there a known set of tests that fail, that we can manually exclude? Or can the failed tests change as you improve cg_gcc? If the latter than we might want to still build GCC from source so we have reliable tests. |
https://github.com/rust-lang/rustc_codegen_gcc/blob/master/failing-ui-tests12.txt is appended to the list of known failed tests in failing-ui-tests.txt on CI when testing with GCC 12. |
In both cases, the failed tests can change, but the files pointed by bjorn3 will be updated accordingly. |
…imulacrum Run part of cg_clif's tests in CI While currently cg_clif is already built in CI ensuring that it always compiles, sometimes there is a bug in the changes that were made causing tests to fail. This PR is one step towards preventing this. Part of the test suite is still skipped until vendoring for the projects that are being tested is implemented. I will implement that in a future PR. Fixes part of https://github.com/bjorn3/rustc_codegen_cranelift/issues/1290 Fixes part of rust-lang#95518 Required for rust-lang#81746
cc @bjorn3 @antoyo - are there any tests for these crates that make sense in-tree? I first noticed this because it means
x test compiler/*
breaks, but if that's something I have to live with I can, it would just be nice for it to work.@rustbot label: +A-rustbuild +A-codegen
The text was updated successfully, but these errors were encountered: