Skip to content

Commit f64bfa2

Browse files
authored
Unrolled build for #150947
Rollup merge of #150947 - partial-sort-miri, r=tgross35 alloctests: Don't run the longer partial-sort tests under Miri These tests take hours to run in Miri, which greatly increases the duration of the `x86_64-gnu-aux` job, as observed in #150900 (comment). - [Zulip thread in #t-infra](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/x86_64-gnu-aux.20job.20went.20from.20~2.20to.20~3.2E5.20hours/near/567354541)
2 parents ad04f76 + 5081393 commit f64bfa2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎library/alloctests/tests/sort/partial.rs‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ fn basic_impl() {
7979
fn random_patterns() {
8080
check_is_partial_sorted_ranges(&patterns::random(10));
8181
check_is_partial_sorted_ranges(&patterns::random(50));
82-
check_is_partial_sorted_ranges(&patterns::random(100));
83-
check_is_partial_sorted_ranges(&patterns::random(1000));
82+
83+
// Longer tests would take hours to run under Miri.
84+
if !cfg!(miri) {
85+
check_is_partial_sorted_ranges(&patterns::random(100));
86+
check_is_partial_sorted_ranges(&patterns::random(1000));
87+
}
8488
}

0 commit comments

Comments
 (0)