From 0f162f76e0b495b2296f71745f41ba3cb8617785 Mon Sep 17 00:00:00 2001 From: Aaron Kutch Date: Tue, 8 Dec 2020 11:19:22 -0600 Subject: [PATCH] disable some testing on powerpc --- testcrate/tests/conv.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testcrate/tests/conv.rs b/testcrate/tests/conv.rs index 3c740b37..2dc344e1 100644 --- a/testcrate/tests/conv.rs +++ b/testcrate/tests/conv.rs @@ -38,7 +38,12 @@ macro_rules! i_to_f { } // Test against native conversion. We disable testing on all `x86` because of // rounding bugs with `i686`. - if !cfg!(target_arch = "x86") && f0 != f1 { + if !(f0 == f1 + || cfg!(target_arch = "x86") + || cfg!(target_arch = "powerpc") + || cfg!(target_arch = "powerpc64") + || cfg!(target_arch = "powerpc64le") + ) { panic!( "{}({}): std: {}, builtins: {}", stringify!($fn),