File tree Expand file tree Collapse file tree 4 files changed +0
-12
lines changed Expand file tree Collapse file tree 4 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 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" ) ) ]
41// Disabling in Miri as these would take too long.
52#![ cfg( not( miri) ) ]
63#![ feature( btree_extract_if) ]
Original file line number Diff line number Diff line change @@ -723,7 +723,6 @@ fn test_reserve_exact() {
723723
724724#[ test]
725725#[ 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
727726fn test_try_with_capacity ( ) {
728727 let string = String :: try_with_capacity ( 1000 ) . unwrap ( ) ;
729728 assert_eq ! ( 0 , string. len( ) ) ;
@@ -734,7 +733,6 @@ fn test_try_with_capacity() {
734733
735734#[ test]
736735#[ 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
738736fn test_try_reserve ( ) {
739737 // These are the interesting cases:
740738 // * exactly isize::MAX should never trigger a CapacityOverflow (can be OOM)
@@ -803,7 +801,6 @@ fn test_try_reserve() {
803801
804802#[ test]
805803#[ 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
807804fn test_try_reserve_exact ( ) {
808805 // This is exactly the same as test_try_reserve with the method changed.
809806 // See that test for comments.
Original file line number Diff line number Diff line change @@ -1695,7 +1695,6 @@ fn test_reserve_exact() {
16951695
16961696#[ test]
16971697#[ 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
16991698fn test_try_with_capacity ( ) {
17001699 let mut vec: Vec < u32 > = Vec :: try_with_capacity ( 5 ) . unwrap ( ) ;
17011700 assert_eq ! ( 0 , vec. len( ) ) ;
@@ -1707,7 +1706,6 @@ fn test_try_with_capacity() {
17071706
17081707#[ test]
17091708#[ 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
17111709fn test_try_reserve ( ) {
17121710 // These are the interesting cases:
17131711 // * exactly isize::MAX should never trigger a CapacityOverflow (can be OOM)
@@ -1803,7 +1801,6 @@ fn test_try_reserve() {
18031801
18041802#[ test]
18051803#[ 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
18071804fn test_try_reserve_exact ( ) {
18081805 // This is exactly the same as test_try_reserve with the method changed.
18091806 // See that test for comments.
Original file line number Diff line number Diff line change @@ -1185,7 +1185,6 @@ fn test_reserve_exact_2() {
11851185
11861186#[ test]
11871187#[ 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
11891188fn test_try_with_capacity ( ) {
11901189 let vec: VecDeque < u32 > = VecDeque :: try_with_capacity ( 5 ) . unwrap ( ) ;
11911190 assert_eq ! ( 0 , vec. len( ) ) ;
@@ -1196,7 +1195,6 @@ fn test_try_with_capacity() {
11961195
11971196#[ test]
11981197#[ 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
12001198fn test_try_reserve ( ) {
12011199 // These are the interesting cases:
12021200 // * exactly isize::MAX should never trigger a CapacityOverflow (can be OOM)
@@ -1292,7 +1290,6 @@ fn test_try_reserve() {
12921290
12931291#[ test]
12941292#[ 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
12961293fn test_try_reserve_exact ( ) {
12971294 // This is exactly the same as test_try_reserve with the method changed.
12981295 // See that test for comments.
You can’t perform that action at this time.
0 commit comments