1 From dd82e95c9de212524e14fc60155de1ae40156dfc Mon Sep 17 00:00:00 2001
2 From: bjorn3 <bjorn3@users.noreply.github.com>
3 Date: Sun, 24 Nov 2019 15:34:06 +0100
4 Subject: [PATCH] [core] Ignore failing tests
7 library/core/tests/iter.rs | 4 ++++
8 library/core/tests/num/bignum.rs | 10 ++++++++++
9 library/core/tests/num/mod.rs | 5 +++--
10 library/core/tests/time.rs | 1 +
11 4 files changed, 18 insertions(+), 2 deletions(-)
13 diff --git a/library/core/tests/array.rs b/library/core/tests/array.rs
14 index 4bc44e9..8e3c7a4 100644
15 --- a/library/core/tests/array.rs
16 +++ b/library/core/tests/array.rs
17 @@ -242,6 +242,7 @@ fn iterator_drops() {
18 assert_eq!(i.get(), 5);
22 // This test does not work on targets without panic=unwind support.
23 // To work around this problem, test is marked is should_panic, so it will
24 // be automagically skipped on unsuitable targets, such as
25 @@ -283,6 +284,7 @@ fn array_default_impl_avoids_leaks_on_panic() {
26 assert_eq!(COUNTER.load(Relaxed), 0);
27 panic!("test succeeded")
32 fn empty_array_is_always_default() {
33 @@ -304,6 +304,7 @@ fn array_map() {
34 assert_eq!(b, [1, 2, 3]);
38 // See note on above test for why `should_panic` is used.
40 #[should_panic(expected = "test succeeded")]
41 @@ -332,6 +333,7 @@ fn array_map_drop_safety() {
42 assert_eq!(DROPPED.load(Ordering::SeqCst), num_to_create);
43 panic!("test succeeded")
48 fn cell_allows_array_cycle() {
49 -- 2.21.0 (Apple Git-122)