about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMarco A L Barbosa <malbarbo@gmail.com>2017-06-13 10:46:54 -0300
committerMarco A L Barbosa <malbarbo@gmail.com>2017-06-13 10:46:54 -0300
commit405adb6d0c44d018cf4ce39d3bc486ebd8584cfb (patch)
treefc467bffbeab7cad298bda7adb1841b4d958fa42 /src/libstd
parent554f21bc02d07050cd182c06b01175267533becc (diff)
downloadrust-405adb6d0c44d018cf4ce39d3bc486ebd8584cfb.tar.gz
rust-405adb6d0c44d018cf4ce39d3bc486ebd8584cfb.zip
Ignore some failing test on wasm32-unknown-emscripten
See #42629 and #42630.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/f64.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs
index 82e3903eec7..813998b7502 100644
--- a/src/libstd/f64.rs
+++ b/src/libstd/f64.rs
@@ -1158,6 +1158,7 @@ mod tests {
         assert_eq!(Fp::Zero, neg_zero.classify());
     }
 
+    #[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630
     #[test]
     fn test_one() {
         let one: f64 = 1.0f64;
@@ -1210,6 +1211,7 @@ mod tests {
         assert!((-109.2f64).is_finite());
     }
 
+    #[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630
     #[test]
     fn test_is_normal() {
         let nan: f64 = NAN;
@@ -1227,6 +1229,7 @@ mod tests {
         assert!(!1e-308f64.is_normal());
     }
 
+    #[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630
     #[test]
     fn test_classify() {
         let nan: f64 = NAN;