Skip to content

Commit dca2031

Browse files
committed
Disable certain tests on ARM until floating point behavior issues can be resolved.
Part of #392.
1 parent 1981aec commit dca2031

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/si/area.rs

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ mod tests {
8484
}
8585

8686
#[test]
87+
// #392: Disable tests on ARM until issues with floating point behavior can be resolved.
88+
#[cfg(not(target_arch = "arm"))]
8789
fn check_units() {
8890
// Values too large for f32.
8991
if TypeId::of::<f64>() == TypeId::of::<V>() {

src/si/volume.rs

+2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ mod tests {
157157
}
158158

159159
#[test]
160+
// #392: Disable tests on ARM until issues with floating point behavior can be resolved.
161+
#[cfg(not(target_arch = "arm"))]
160162
fn check_units() {
161163
// Values too large for f32.
162164
if TypeId::of::<f64>() == TypeId::of::<V>() {

0 commit comments

Comments
 (0)