Skip to content

Commit

Permalink
disable some testing on powerpc
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronKutch committed Dec 8, 2020
1 parent 0553e1e commit 0f162f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion testcrate/tests/conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0f162f7

Please sign in to comment.