Disable powerpc64 tests which were broken by the LLVM 13 upgrade

This commit is contained in:
Amanieu d'Antras
2022-01-03 19:00:31 +01:00
parent 89eaba13eb
commit d1e9aa0f11
9 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ run() {
--user $(id -u):$(id -g) \
-e CARGO_HOME=/cargo \
-e CARGO_TARGET_DIR=/target \
-v $(dirname $(dirname `which cargo`)):/cargo \
-v "${HOME}/.cargo":/cargo \
-v `pwd`/target:/target \
-v `pwd`:/checkout:ro \
-v `rustc --print sysroot`:/rust:ro \
+2
View File
@@ -40,6 +40,8 @@ pub fn ceilf(x: f32) -> f32 {
f32::from_bits(ui)
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::*;
+2
View File
@@ -14,6 +14,8 @@ pub fn fabsf(x: f32) -> f32 {
f32::from_bits(x.to_bits() & 0x7fffffff)
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::*;
+2
View File
@@ -40,6 +40,8 @@ pub fn floorf(x: f32) -> f32 {
f32::from_bits(ui)
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::*;
+2
View File
@@ -357,6 +357,8 @@ fn qonef(x: f32) -> f32 {
return (0.375 + r / s) / x;
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::{j1f, y1f};
+2
View File
@@ -7,6 +7,8 @@ pub fn roundf(x: f32) -> f32 {
truncf(x + copysignf(0.5 - 0.25 * f32::EPSILON, x))
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::roundf;
+2
View File
@@ -122,6 +122,8 @@ pub fn sincosf(x: f32) -> (f32, f32) {
}
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::sincosf;
+2
View File
@@ -128,6 +128,8 @@ pub fn sqrtf(x: f32) -> f32 {
}
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::*;
+2
View File
@@ -31,6 +31,8 @@ pub fn truncf(x: f32) -> f32 {
f32::from_bits(i)
}
// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
#[test]