diff options
| author | ywxt <ywxtcwh@gmail.com> | 2025-06-26 14:49:20 +0800 |
|---|---|---|
| committer | ywxt <ywxtcwh@gmail.com> | 2025-06-28 17:58:21 +0800 |
| commit | 46e18d1fe048a80613afacb05472d3eb44cec535 (patch) | |
| tree | cfa342aa1d28fb7063f19617500192fb09f66f02 /compiler/rustc_thread_pool | |
| parent | 44e69f592f4e80a39abe98db5279e03e00c73cef (diff) | |
| download | rust-46e18d1fe048a80613afacb05472d3eb44cec535.tar.gz rust-46e18d1fe048a80613afacb05472d3eb44cec535.zip | |
Add FIXMEs for those ignored tests.
Diffstat (limited to 'compiler/rustc_thread_pool')
6 files changed, 27 insertions, 0 deletions
diff --git a/compiler/rustc_thread_pool/src/broadcast/tests.rs b/compiler/rustc_thread_pool/src/broadcast/tests.rs index 201cb932192..2fe1319726c 100644 --- a/compiler/rustc_thread_pool/src/broadcast/tests.rs +++ b/compiler/rustc_thread_pool/src/broadcast/tests.rs @@ -64,6 +64,7 @@ fn spawn_broadcast_self() { assert!(v.into_iter().eq(0..7)); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -99,6 +100,7 @@ fn spawn_broadcast_mutual() { assert_eq!(rx.into_iter().count(), 3 * 7); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] diff --git a/compiler/rustc_thread_pool/src/join/tests.rs b/compiler/rustc_thread_pool/src/join/tests.rs index ec196632f75..71a971435bc 100644 --- a/compiler/rustc_thread_pool/src/join/tests.rs +++ b/compiler/rustc_thread_pool/src/join/tests.rs @@ -96,6 +96,7 @@ fn join_context_both() { assert!(b_migrated); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] diff --git a/compiler/rustc_thread_pool/src/scope/tests.rs b/compiler/rustc_thread_pool/src/scope/tests.rs index 049548f4a18..9b9ac98d066 100644 --- a/compiler/rustc_thread_pool/src/scope/tests.rs +++ b/compiler/rustc_thread_pool/src/scope/tests.rs @@ -289,6 +289,7 @@ macro_rules! test_order { }}; } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -299,6 +300,7 @@ fn lifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -335,6 +337,7 @@ macro_rules! test_nested_order { }}; } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -345,6 +348,7 @@ fn nested_lifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -355,6 +359,7 @@ fn nested_fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -365,6 +370,7 @@ fn nested_lifo_fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -407,6 +413,7 @@ macro_rules! test_mixed_order { }}; } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -418,6 +425,7 @@ fn mixed_lifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -427,6 +435,7 @@ fn mixed_fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -438,6 +447,7 @@ fn mixed_lifo_fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -553,6 +563,7 @@ fn scope_fifo_spawn_broadcast() { assert_eq!(sum.into_inner(), n * (n - 1) / 2); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] fn scope_spawn_broadcast_nested() { diff --git a/compiler/rustc_thread_pool/src/spawn/tests.rs b/compiler/rustc_thread_pool/src/spawn/tests.rs index a4989759cf9..119cfc7ca5e 100644 --- a/compiler/rustc_thread_pool/src/spawn/tests.rs +++ b/compiler/rustc_thread_pool/src/spawn/tests.rs @@ -166,6 +166,7 @@ macro_rules! test_order { }}; } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -176,6 +177,7 @@ fn lifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -186,6 +188,7 @@ fn fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -196,6 +199,7 @@ fn lifo_fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -233,6 +237,7 @@ macro_rules! test_mixed_order { }}; } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -242,6 +247,7 @@ fn mixed_lifo_fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] diff --git a/compiler/rustc_thread_pool/src/thread_pool/tests.rs b/compiler/rustc_thread_pool/src/thread_pool/tests.rs index 9feaed7efd0..f2baab4c859 100644 --- a/compiler/rustc_thread_pool/src/thread_pool/tests.rs +++ b/compiler/rustc_thread_pool/src/thread_pool/tests.rs @@ -151,6 +151,7 @@ fn self_install() { assert!(pool.install(|| pool.install(|| true))); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -172,6 +173,7 @@ fn mutual_install() { assert!(ok); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -228,6 +230,7 @@ macro_rules! test_scope_order { }}; } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -237,6 +240,7 @@ fn scope_lifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -279,6 +283,7 @@ fn spawn_fifo_order() { assert_eq!(vec, expected); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] @@ -316,6 +321,7 @@ fn nested_scopes() { assert_eq!(counter.into_inner(), pools.len()); } +// FIXME: We should fix or remove this ignored test. #[test] #[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] diff --git a/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs b/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs index 2b89ea4be19..d854751542f 100644 --- a/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs +++ b/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs @@ -35,6 +35,7 @@ fn overflow_code() -> Option<i32> { ExitStatus::from_raw(0xc00000fd /*STATUS_STACK_OVERFLOW*/).code() } +// FIXME: We should fix or remove this test on Windows. #[test] #[cfg_attr(not(any(unix)), ignore)] fn stack_overflow_crash() { |
