Skip to content

Commit

Permalink
Miri: disable a slow test
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jun 9, 2019
1 parent e6e60ef commit 60d8675
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcore/tests/num/dec2flt/mod.rs
Expand Up @@ -31,6 +31,7 @@ fn ordinary() {
test_literal!(0.1);
test_literal!(12345.);
test_literal!(0.9999999);
#[cfg(not(miri))] // Miri is too slow
test_literal!(2.2250738585072014e-308);
}

Expand Down Expand Up @@ -77,6 +78,7 @@ fn zero() {
test_literal!(0.0);
test_literal!(1e-325);
test_literal!(1e-326);
#[cfg(not(miri))] // Miri is too slow
test_literal!(1e-500);
}

Expand Down

0 comments on commit 60d8675

Please sign in to comment.