]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/f64.rs
Ignore some failing test on wasm32-unknown-emscripten
[rust.git] / src / libstd / f64.rs
index 82e3903eec7b13d8270b39115d3402fa7ee9a689..813998b75028f5907d21cfb38caf85ace7d0f679 100644 (file)
@@ -1158,6 +1158,7 @@ fn test_neg_zero() {
         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 @@ fn test_is_finite() {
         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 @@ fn test_is_normal() {
         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;