diff options
| author | Ralf Jung <post@ralfj.de> | 2025-07-08 06:59:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-08 06:59:33 +0000 |
| commit | 9110617cc7192e512511ef74de83cb8a8ab06a69 (patch) | |
| tree | 4376d8c702b0394cca4f7cc3204ed2c521d87530 /compiler/rustc_thread_pool/src/thread_pool | |
| parent | a96e73f39e99811a2550c1c96923058da3fa0a47 (diff) | |
| parent | bd84ba8ddab8817691022cc7ef6e0bd36015e819 (diff) | |
Merge pull request #4455 from RalfJung/rustup
Rustup
Diffstat (limited to 'compiler/rustc_thread_pool/src/thread_pool')
| -rw-r--r-- | compiler/rustc_thread_pool/src/thread_pool/tests.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler/rustc_thread_pool/src/thread_pool/tests.rs b/compiler/rustc_thread_pool/src/thread_pool/tests.rs index 42c99565088..f2baab4c859 100644 --- a/compiler/rustc_thread_pool/src/thread_pool/tests.rs +++ b/compiler/rustc_thread_pool/src/thread_pool/tests.rs @@ -151,7 +151,9 @@ 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)] fn mutual_install() { let pool1 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); @@ -171,7 +173,9 @@ 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)] fn mutual_install_sleepy() { use std::{thread, time}; @@ -226,7 +230,9 @@ 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)] fn scope_lifo_order() { let vec = test_scope_order!(scope => spawn); @@ -234,7 +240,9 @@ 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)] fn scope_fifo_order() { let vec = test_scope_order!(scope_fifo => spawn_fifo); @@ -275,7 +283,9 @@ 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)] fn nested_scopes() { // Create matching scopes for every thread pool. @@ -311,7 +321,9 @@ 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)] fn nested_fifo_scopes() { // Create matching fifo scopes for every thread pool. |
