-
Couldn't load subscription status.
- Fork 13.9k
Migrate run-make/short-ice to rmake
#126036
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
This comment has been minimized.
This comment has been minimized.
ef4835f to
1e2253a
Compare
This comment has been minimized.
This comment has been minimized.
1e2253a to
b65b0b5
Compare
This comment has been minimized.
This comment has been minimized.
b65b0b5 to
fee9dcb
Compare
tests/run-make/short-ice/rmake.rs
Outdated
| rust_test_log_1.lines().count() < rust_test_log_2.lines().count() | ||
| && count_lines_with(rust_test_log_2, "__rust_begin_short_backtrace") | ||
| == count_lines_with(rust_test_log_2, "__rust_end_short_backtrace") | ||
| && count_lines_with(rust_test_log_1, "rustc_query_") + 5 < rustc_query_count_full | ||
| && rustc_query_count_full > 5 |
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.
just beautiful 🦀
d49a7c8 to
824b088
Compare
824b088 to
3cd6b48
Compare
|
Some changes occurred in run-make tests. cc @jieyouxu |
|
This will need a slight refactoring after #126121, sorry 😇 |
|
@rustbot author |
3cd6b48 to
f88c647
Compare
|
@rustbot review |
tests/run-make/short-ice/rmake.rs
Outdated
| rust_test_log_1.lines().count() < rust_test_log_2.lines().count() | ||
| && count_lines_with(rust_test_log_2, "__rust_begin_short_backtrace") | ||
| == count_lines_with(rust_test_log_2, "__rust_end_short_backtrace") | ||
| && count_lines_with(rust_test_log_1, "rustc_query_") + 5 < rustc_query_count_full | ||
| && rustc_query_count_full > 5 |
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.
Discussion: should we split this conjunction of multiple clauses into individual asserts, so that if the test does fail we have a chance to know which particular clause failed? I'm personally fine with the test still being //@ ignore-windows, but I would like to know more specificially about which clause causes the test to fail on Windows so we can leave a FIXME.
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.
That's a very good idea, actually! I will now divide the assert, add a try job, and we can run that to see which one fails, and then restore the ignore.
53639e9 to
2e4eff7
Compare
|
@bors delegate+ (so you can run try jobs, but please don't r+ yet until i take another look) |
|
✌️ @Oneirical, you can now approve this pull request! If @jieyouxu told you to " |
|
@bors try |
…r=<try> Migrate `run-make/short-ice` to `rmake` Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). try-job: x86_64-msvc
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
2e4eff7 to
8a6bc13
Compare
|
Failed as expected. The Ignore restored and reason added. |
|
@rustbot review |
|
Thanks! @bors r+ rollup |
…mpiler-errors Rollup of 8 pull requests Successful merges: - rust-lang#125869 (Add `target_env = "p1"` to the `wasm32-wasip1` target) - rust-lang#126019 (Add TODO comment to unsafe env modification) - rust-lang#126036 (Migrate `run-make/short-ice` to `rmake`) - rust-lang#126276 (Detect pub structs never constructed even though they impl pub trait with assoc constants) - rust-lang#126282 (Ensure self-contained linker is only enabled on dev/nightly ) - rust-lang#126317 (Avoid a bunch of booleans in favor of Result<(), ErrorGuaranteed> as that more robustly proves that an error has been emitted) - rust-lang#126324 (Adjust LoongArch64 data layouts for LLVM update) - rust-lang#126340 (Fix outdated predacates_of.rs comments) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#126036 - Oneirical:the-intelligent-intestor, r=jieyouxu Migrate `run-make/short-ice` to `rmake` Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). try-job: x86_64-msvc
Part of #121876 and the associated Google Summer of Code project.
try-job: x86_64-msvc