Re-enable android tests/benches in alloc · patricklam/verify-rust-std@da08ef4 (original) (raw)
4 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
1 | -// Disabling on android for the time being | |
2 | -// See https://github.com/rust-lang/rust/issues/73535#event-3477699747 | |
3 | -#![cfg(not(target_os = "android"))] | |
4 | 1 | // Disabling in Miri as these would take too long. |
5 | 2 | #![cfg(not(miri))] |
6 | 3 | #![feature(btree_extract_if)] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -723,7 +723,6 @@ fn test_reserve_exact() { | ||
723 | 723 | |
724 | 724 | #[test] |
725 | 725 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
726 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
727 | 726 | fn test_try_with_capacity() { |
728 | 727 | let string = String::try_with_capacity(1000).unwrap(); |
729 | 728 | assert_eq!(0, string.len()); |
@@ -734,7 +733,6 @@ fn test_try_with_capacity() { | ||
734 | 733 | |
735 | 734 | #[test] |
736 | 735 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
737 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
738 | 736 | fn test_try_reserve() { |
739 | 737 | // These are the interesting cases: |
740 | 738 | // * exactly isize::MAX should never trigger a CapacityOverflow (can be OOM) |
@@ -803,7 +801,6 @@ fn test_try_reserve() { | ||
803 | 801 | |
804 | 802 | #[test] |
805 | 803 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
806 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
807 | 804 | fn test_try_reserve_exact() { |
808 | 805 | // This is exactly the same as test_try_reserve with the method changed. |
809 | 806 | // See that test for comments. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1695,7 +1695,6 @@ fn test_reserve_exact() { | ||
1695 | 1695 | |
1696 | 1696 | #[test] |
1697 | 1697 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
1698 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
1699 | 1698 | fn test_try_with_capacity() { |
1700 | 1699 | let mut vec: Vec<u32> = Vec::try_with_capacity(5).unwrap(); |
1701 | 1700 | assert_eq!(0, vec.len()); |
@@ -1707,7 +1706,6 @@ fn test_try_with_capacity() { | ||
1707 | 1706 | |
1708 | 1707 | #[test] |
1709 | 1708 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
1710 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
1711 | 1709 | fn test_try_reserve() { |
1712 | 1710 | // These are the interesting cases: |
1713 | 1711 | // * exactly isize::MAX should never trigger a CapacityOverflow (can be OOM) |
@@ -1803,7 +1801,6 @@ fn test_try_reserve() { | ||
1803 | 1801 | |
1804 | 1802 | #[test] |
1805 | 1803 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
1806 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
1807 | 1804 | fn test_try_reserve_exact() { |
1808 | 1805 | // This is exactly the same as test_try_reserve with the method changed. |
1809 | 1806 | // See that test for comments. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1185,7 +1185,6 @@ fn test_reserve_exact_2() { | ||
1185 | 1185 | |
1186 | 1186 | #[test] |
1187 | 1187 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
1188 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
1189 | 1188 | fn test_try_with_capacity() { |
1190 | 1189 | let vec: VecDeque<u32> = VecDeque::try_with_capacity(5).unwrap(); |
1191 | 1190 | assert_eq!(0, vec.len()); |
@@ -1196,7 +1195,6 @@ fn test_try_with_capacity() { | ||
1196 | 1195 | |
1197 | 1196 | #[test] |
1198 | 1197 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
1199 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
1200 | 1198 | fn test_try_reserve() { |
1201 | 1199 | // These are the interesting cases: |
1202 | 1200 | // * exactly isize::MAX should never trigger a CapacityOverflow (can be OOM) |
@@ -1292,7 +1290,6 @@ fn test_try_reserve() { | ||
1292 | 1290 | |
1293 | 1291 | #[test] |
1294 | 1292 | #[cfg_attr(miri, ignore)] // Miri does not support signalling OOM |
1295 | -#[cfg_attr(target_os = "android", ignore)] // Android used in CI has a broken dlmalloc | |
1296 | 1293 | fn test_try_reserve_exact() { |
1297 | 1294 | // This is exactly the same as test_try_reserve with the method changed. |
1298 | 1295 | // See that test for comments. |