do not run test where it cannot run
This was seen on Ferrocene, where we have a custom test target that does not have unwind support
This commit is contained in:
parent
7fdefb804e
commit
af3aa36d60
1 changed files with 1 additions and 0 deletions
|
@ -240,6 +240,7 @@ fn panic_safe() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore)] // Miri is too slow
|
#[cfg_attr(miri, ignore)] // Miri is too slow
|
||||||
|
#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
|
||||||
fn test_sort() {
|
fn test_sort() {
|
||||||
let mut rng = test_rng();
|
let mut rng = test_rng();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue