about summary refs log tree commit diff
path: root/src/libcore/tests
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-09 17:47:48 +0000
committerbors <bors@rust-lang.org>2019-06-09 17:47:48 +0000
commit400b409efc4975a082185c5a74412572e49dfd98 (patch)
tree1440e6c2a5b187c918e3974f2f1bad8b9ff3fe58 /src/libcore/tests
parent07c3967de9027735bfbf9c739f6a8ca14312c22d (diff)
parent60d8675312e9732c1b27cddc72943ae0b091386d (diff)
downloadrust-400b409efc4975a082185c5a74412572e49dfd98.tar.gz
rust-400b409efc4975a082185c5a74412572e49dfd98.zip
Auto merge of #61691 - RalfJung:miri-slow, r=Centril
Miri: disable a slow test
Diffstat (limited to 'src/libcore/tests')
-rw-r--r--src/libcore/tests/num/dec2flt/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/tests/num/dec2flt/mod.rs b/src/libcore/tests/num/dec2flt/mod.rs
index faeaabbf95a..0e71426c641 100644
--- a/src/libcore/tests/num/dec2flt/mod.rs
+++ b/src/libcore/tests/num/dec2flt/mod.rs
@@ -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);
 }
 
@@ -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);
 }