From dca203134be24889d8fb24d8bff0bd91a03f867b Mon Sep 17 00:00:00 2001 From: Mike Boutin Date: Mon, 16 Jan 2023 15:47:19 -0500 Subject: [PATCH] Disable certain tests on ARM until floating point behavior issues can be resolved. Part of #392. --- src/si/area.rs | 2 ++ src/si/volume.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/si/area.rs b/src/si/area.rs index cab19d3b..58a5cccf 100644 --- a/src/si/area.rs +++ b/src/si/area.rs @@ -84,6 +84,8 @@ mod tests { } #[test] + // #392: Disable tests on ARM until issues with floating point behavior can be resolved. + #[cfg(not(target_arch = "arm"))] fn check_units() { // Values too large for f32. if TypeId::of::() == TypeId::of::() { diff --git a/src/si/volume.rs b/src/si/volume.rs index 309e02f4..4939e878 100644 --- a/src/si/volume.rs +++ b/src/si/volume.rs @@ -157,6 +157,8 @@ mod tests { } #[test] + // #392: Disable tests on ARM until issues with floating point behavior can be resolved. + #[cfg(not(target_arch = "arm"))] fn check_units() { // Values too large for f32. if TypeId::of::() == TypeId::of::() {