Uh oh!
There was an error while loading. Please reload this page.
Add parallel rustc ui tests - #120664
Conversation
rustbot
commented
Feb 5, 2024
(rustbot has picked a reviewer for you, use r? to override) |
michaelwoerister
commented
Feb 5, 2024
Thanks for the PR, @SparrowLii! It looks like we don't have a parallelization group in triagebot.toml. Do you know a reviewer with the necessary context? |
SparrowLii
commented
Feb 5, 2024
ok |
How will we deal with spurious failures of these in CI that only happen every 10th/100th run or so? |
Some use cases can be tested multiple times (such as 10 or 100 times) by modifying the compile-test tool, but there are still some errors (such as once in 10000 times) that are difficult to guarantee correct. So I think this PR is just the beginning |
matthiaskrgr
commented
Feb 5, 2024
Maybe we can also increase the threadcount to 50 or so to increase the chance of concurrency problems? |
SparrowLii
commented
Feb 5, 2024
Yeah of course we should. We can add some simple use cases first to ensure that the basic functions will not be overturned (such as #118648) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
1d5e635 to
837e5acCompare
This comment has been minimized.
This comment has been minimized.
The reason for this error is that the test case |
837e5ac to
c631909Comparennethercote
commented
Feb 6, 2024
I think the commits should be squashed together before merging. Otherwise, more tests is good. It seems like the concern from yesterday has been resolved? If so, r=me once the commits are squashed. |
c631909 to
073f5cdCompareSparrowLii
commented
Feb 7, 2024
Thanks! We need to enhance the ui testing tool to support more tests (I listed it in #118698), so I would like to add them in another new PR |
SparrowLii
commented
Feb 7, 2024
@bors r=nnethercote |
bors
commented
Feb 7, 2024
bors
commented
Feb 7, 2024
☔ The latest upstream changes (presumably #120722) made this pull request unmergeable. Please resolve the merge conflicts. |
073f5cd to
a59d006CompareSparrowLii
commented
Feb 7, 2024
@bors r=nnethercote |
bors
commented
Feb 7, 2024
…rcote Add parallel rustc ui tests Updates rust-lang#118698 Add some ui tests for parallel rustc front end This is a relatively large feature so I think it's worth creating a new entity in tests/ui folder, so we need to modify the limit in tidy.
Rollup of 13 pull requests Successful merges: - rust-lang#110482 (Add armv8r-none-eabihf target for the Cortex-R52.) - rust-lang#119162 (Add unstable `-Z direct-access-external-data` cmdline flag for `rustc`) - rust-lang#120302 (various const interning cleanups) - rust-lang#120455 ( Add FileCheck annotations to MIR-opt SROA tests) - rust-lang#120470 (Mark "unused binding" suggestion as maybe incorrect) - rust-lang#120479 (Suggest turning `if let` into irrefutable `let` if appropriate) - rust-lang#120564 (coverage: Split out counter increment sites from BCB node/edge counters) - rust-lang#120633 (pattern_analysis: gather up place-relevant info) - rust-lang#120664 (Add parallel rustc ui tests) - rust-lang#120721 (fix `llvm_out` to use the correct LLVM root) - rust-lang#120726 (Don't use bashism in checktools.sh) - rust-lang#120733 (MirPass: make name more const) - rust-lang#120735 (Remove some `unchecked_claim_error_was_emitted` calls) Failed merges: - rust-lang#120727 (exhaustiveness: Prefer "`0..MAX` not covered" to "`_` not covered") r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 13 pull requests Successful merges: - rust-lang#110482 (Add armv8r-none-eabihf target for the Cortex-R52.) - rust-lang#119162 (Add unstable `-Z direct-access-external-data` cmdline flag for `rustc`) - rust-lang#120302 (various const interning cleanups) - rust-lang#120455 ( Add FileCheck annotations to MIR-opt SROA tests) - rust-lang#120470 (Mark "unused binding" suggestion as maybe incorrect) - rust-lang#120479 (Suggest turning `if let` into irrefutable `let` if appropriate) - rust-lang#120564 (coverage: Split out counter increment sites from BCB node/edge counters) - rust-lang#120633 (pattern_analysis: gather up place-relevant info) - rust-lang#120664 (Add parallel rustc ui tests) - rust-lang#120726 (Don't use bashism in checktools.sh) - rust-lang#120733 (MirPass: make name more const) - rust-lang#120735 (Remove some `unchecked_claim_error_was_emitted` calls) - rust-lang#120746 (Record coroutine kind in coroutine generics) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#120664 - SparrowLii:parallel_test, r=nnethercote Add parallel rustc ui tests Updates rust-lang#118698 Add some ui tests for parallel rustc front end This is a relatively large feature so I think it's worth creating a new entity in tests/ui folder, so we need to modify the limit in tidy.
Updates #118698
Add some ui tests for parallel rustc front end
This is a relatively large feature so I think it's worth creating a new entity in tests/ui folder, so we need to modify the limit in tidy.