enabled too many tests
This commit is contained in:
parent
4888b1fb99
commit
52d9fa827d
2 changed files with 3 additions and 1 deletions
|
@ -282,7 +282,7 @@ fn assert_covariance() {
|
||||||
//
|
//
|
||||||
// Destructors must be called exactly once per element.
|
// Destructors must be called exactly once per element.
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(not(miri))] // Miri does not support entropy
|
#[cfg(not(miri))] // Miri does not support panics nor entropy
|
||||||
fn panic_safe() {
|
fn panic_safe() {
|
||||||
static DROP_COUNTER: AtomicUsize = AtomicUsize::new(0);
|
static DROP_COUNTER: AtomicUsize = AtomicUsize::new(0);
|
||||||
|
|
||||||
|
|
|
@ -1397,6 +1397,7 @@ fn test_box_slice_clone() {
|
||||||
#[test]
|
#[test]
|
||||||
#[allow(unused_must_use)] // here, we care about the side effects of `.clone()`
|
#[allow(unused_must_use)] // here, we care about the side effects of `.clone()`
|
||||||
#[cfg_attr(target_os = "emscripten", ignore)]
|
#[cfg_attr(target_os = "emscripten", ignore)]
|
||||||
|
#[cfg(not(miri))] // Miri does not support threads nor entropy
|
||||||
fn test_box_slice_clone_panics() {
|
fn test_box_slice_clone_panics() {
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||||
|
@ -1588,6 +1589,7 @@ thread_local!(static SILENCE_PANIC: Cell<bool> = Cell::new(false));
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(target_os = "emscripten", ignore)] // no threads
|
#[cfg_attr(target_os = "emscripten", ignore)] // no threads
|
||||||
|
#[cfg(not(miri))] // Miri does not support threads nor entropy
|
||||||
fn panic_safe() {
|
fn panic_safe() {
|
||||||
let prev = panic::take_hook();
|
let prev = panic::take_hook();
|
||||||
panic::set_hook(Box::new(move |info| {
|
panic::set_hook(Box::new(move |info| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue