Skip to content

Commit 0f162f7

Browse files
committed
disable some testing on powerpc
1 parent 0553e1e commit 0f162f7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

testcrate/tests/conv.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ macro_rules! i_to_f {
3838
}
3939
// Test against native conversion. We disable testing on all `x86` because of
4040
// rounding bugs with `i686`.
41-
if !cfg!(target_arch = "x86") && f0 != f1 {
41+
if !(f0 == f1
42+
|| cfg!(target_arch = "x86")
43+
|| cfg!(target_arch = "powerpc")
44+
|| cfg!(target_arch = "powerpc64")
45+
|| cfg!(target_arch = "powerpc64le")
46+
) {
4247
panic!(
4348
"{}({}): std: {}, builtins: {}",
4449
stringify!($fn),

0 commit comments

Comments
 (0)