diff options
| author | Ralf Jung <post@ralfj.de> | 2019-03-10 17:52:45 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-03-10 18:20:23 +0100 |
| commit | 52d9fa827d3cf5ef5fc0e2042ca1fc7f6dc391ed (patch) | |
| tree | 18f9c63ebb20ca7a05964ca88855a1369b9e4e0d /src/liballoc/tests/slice.rs | |
| parent | 4888b1fb99f1bf6a58bebaededdfbf4477383634 (diff) | |
| download | rust-52d9fa827d3cf5ef5fc0e2042ca1fc7f6dc391ed.tar.gz rust-52d9fa827d3cf5ef5fc0e2042ca1fc7f6dc391ed.zip | |
enabled too many tests
Diffstat (limited to 'src/liballoc/tests/slice.rs')
| -rw-r--r-- | src/liballoc/tests/slice.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/tests/slice.rs b/src/liballoc/tests/slice.rs index fb99c95fc68..b54c128a024 100644 --- a/src/liballoc/tests/slice.rs +++ b/src/liballoc/tests/slice.rs @@ -1397,6 +1397,7 @@ fn test_box_slice_clone() { #[test] #[allow(unused_must_use)] // here, we care about the side effects of `.clone()` #[cfg_attr(target_os = "emscripten", ignore)] +#[cfg(not(miri))] // Miri does not support threads nor entropy fn test_box_slice_clone_panics() { use std::sync::Arc; use std::sync::atomic::{AtomicUsize, Ordering}; @@ -1588,6 +1589,7 @@ thread_local!(static SILENCE_PANIC: Cell<bool> = Cell::new(false)); #[test] #[cfg_attr(target_os = "emscripten", ignore)] // no threads +#[cfg(not(miri))] // Miri does not support threads nor entropy fn panic_safe() { let prev = panic::take_hook(); panic::set_hook(Box::new(move |info| { |
