diff options
Diffstat (limited to 'meta/recipes-devtools/rust/files/rust-oe-selftest.patch')
-rw-r--r-- | meta/recipes-devtools/rust/files/rust-oe-selftest.patch | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch index 4a8760a6d4..909bc971db 100644 --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch | |||
@@ -43,86 +43,6 @@ diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/sr | |||
43 | fn test_can_print_warnings() { | 43 | fn test_can_print_warnings() { |
44 | sess_and_cfg(&["-Awarnings"], |sess, _cfg| { | 44 | sess_and_cfg(&["-Awarnings"], |sess, _cfg| { |
45 | assert!(!sess.dcx().can_emit_warnings()); | 45 | assert!(!sess.dcx().can_emit_warnings()); |
46 | diff --git a/library/std/src/sync/mpsc/tests.rs b/library/std/src/sync/mpsc/tests.rs | ||
47 | index ac1a804cf9c..7c687982324 100644 | ||
48 | --- a/library/std/src/sync/mpsc/tests.rs | ||
49 | +++ b/library/std/src/sync/mpsc/tests.rs | ||
50 | @@ -233,6 +233,7 @@ fn oneshot_single_thread_send_port_close() { | ||
51 | } | ||
52 | |||
53 | #[test] | ||
54 | +#[ignore] | ||
55 | fn oneshot_single_thread_recv_chan_close() { | ||
56 | // Receiving on a closed chan will panic | ||
57 | let res = thread::spawn(move || { | ||
58 | @@ -313,6 +314,7 @@ fn oneshot_multi_task_recv_then_send() { | ||
59 | } | ||
60 | |||
61 | #[test] | ||
62 | +#[ignore] | ||
63 | fn oneshot_multi_task_recv_then_close() { | ||
64 | let (tx, rx) = channel::<Box<i32>>(); | ||
65 | let _t = thread::spawn(move || { | ||
66 | @@ -337,6 +339,7 @@ fn oneshot_multi_thread_close_stress() { | ||
67 | } | ||
68 | |||
69 | #[test] | ||
70 | +#[ignore] | ||
71 | fn oneshot_multi_thread_send_close_stress() { | ||
72 | for _ in 0..stress_factor() { | ||
73 | let (tx, rx) = channel::<i32>(); | ||
74 | @@ -351,6 +354,7 @@ fn oneshot_multi_thread_send_close_stress() { | ||
75 | } | ||
76 | |||
77 | #[test] | ||
78 | +#[ignore] | ||
79 | fn oneshot_multi_thread_recv_close_stress() { | ||
80 | for _ in 0..stress_factor() { | ||
81 | let (tx, rx) = channel::<i32>(); | ||
82 | diff --git a/library/std/src/sync/poison/mutex/tests.rs b/library/std/src/sync/poison/mutex/tests.rs | ||
83 | index 1786a3c09ff..9dcead7092b 100644 | ||
84 | --- a/library/std/src/sync/poison/mutex/tests.rs | ||
85 | +++ b/library/std/src/sync/poison/mutex/tests.rs | ||
86 | @@ -82,6 +82,7 @@ fn drop(&mut self) { | ||
87 | } | ||
88 | |||
89 | #[test] | ||
90 | +#[ignore] | ||
91 | fn test_into_inner_poison() { | ||
92 | let m = new_poisoned_mutex(NonCopy(10)); | ||
93 | |||
94 | @@ -106,6 +107,7 @@ fn test_get_mut() { | ||
95 | } | ||
96 | |||
97 | #[test] | ||
98 | +#[ignore] | ||
99 | fn test_get_mut_poison() { | ||
100 | let mut m = new_poisoned_mutex(NonCopy(10)); | ||
101 | |||
102 | @@ -146,6 +148,7 @@ fn test_mutex_arc_condvar() { | ||
103 | } | ||
104 | |||
105 | #[test] | ||
106 | +#[ignore] | ||
107 | fn test_arc_condvar_poison() { | ||
108 | let packet = Packet(Arc::new((Mutex::new(1), Condvar::new()))); | ||
109 | let packet2 = Packet(packet.0.clone()); | ||
110 | @@ -175,6 +178,7 @@ fn test_arc_condvar_poison() { | ||
111 | } | ||
112 | |||
113 | #[test] | ||
114 | +#[ignore] | ||
115 | fn test_mutex_arc_poison() { | ||
116 | let arc = Arc::new(Mutex::new(1)); | ||
117 | assert!(!arc.is_poisoned()); | ||
118 | @@ -220,6 +220,7 @@ fn test_mutex_arc_nested() { | ||
119 | } | ||
120 | |||
121 | #[test] | ||
122 | +#[ignore] | ||
123 | fn test_mutex_arc_access_in_unwind() { | ||
124 | let arc = Arc::new(Mutex::new(1)); | ||
125 | let arc2 = arc.clone(); | ||
126 | diff --git a/library/std/src/sync/poison/rwlock/tests.rs b/library/std/src/sync/poison/rwlock/tests.rs | 46 | diff --git a/library/std/src/sync/poison/rwlock/tests.rs b/library/std/src/sync/poison/rwlock/tests.rs |
127 | index 1a9d3d3f12f..0a9cfc48806 100644 | 47 | index 1a9d3d3f12f..0a9cfc48806 100644 |
128 | --- a/library/std/src/sync/poison/rwlock/tests.rs | 48 | --- a/library/std/src/sync/poison/rwlock/tests.rs |
@@ -183,26 +103,6 @@ index 1a9d3d3f12f..0a9cfc48806 100644 | |||
183 | fn test_get_mut_poison() { | 103 | fn test_get_mut_poison() { |
184 | let mut m = new_poisoned_rwlock(NonCopy(10)); | 104 | let mut m = new_poisoned_rwlock(NonCopy(10)); |
185 | 105 | ||
186 | diff --git a/library/std/src/sys/pal/unix/process/process_unix/tests.rs b/library/std/src/sys/pal/unix/process/process_unix/tests.rs | ||
187 | index 0a6c6ec19fc..bec257bc630 100644 | ||
188 | --- a/library/std/src/sys/pal/unix/process/process_unix/tests.rs | ||
189 | +++ b/library/std/src/sys/pal/unix/process/process_unix/tests.rs | ||
190 | @@ -6,6 +6,7 @@ | ||
191 | // safety etc., are tested in tests/ui/process/process-panic-after-fork.rs | ||
192 | |||
193 | #[test] | ||
194 | +#[ignore] | ||
195 | fn exitstatus_display_tests() { | ||
196 | // In practice this is the same on every Unix. | ||
197 | // If some weird platform turns out to be different, and this test fails, use #[cfg]. | ||
198 | @@ -37,6 +38,7 @@ | ||
199 | } | ||
200 | |||
201 | #[test] | ||
202 | +#[ignore] | ||
203 | #[cfg_attr(target_os = "emscripten", ignore)] | ||
204 | fn test_command_fork_no_unwind() { | ||
205 | let got = catch_unwind(|| { | ||
206 | diff --git a/library/std/src/thread/tests.rs b/library/std/src/thread/tests.rs | 106 | diff --git a/library/std/src/thread/tests.rs b/library/std/src/thread/tests.rs |
207 | index 5d6b9e94ee9..a5aacb2eb87 100644 | 107 | index 5d6b9e94ee9..a5aacb2eb87 100644 |
208 | --- a/library/std/src/thread/tests.rs | 108 | --- a/library/std/src/thread/tests.rs |