Skip to content

Commit

Permalink
Disable certain tests on ARM until floating point behavior issues can…
Browse files Browse the repository at this point in the history
… be resolved.

Part of #392.
  • Loading branch information
iliekturtles committed Jan 17, 2023
1 parent 1981aec commit dca2031
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/si/area.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ mod tests {
}

#[test]
// #392: Disable tests on ARM until issues with floating point behavior can be resolved.
#[cfg(not(target_arch = "arm"))]
fn check_units() {
// Values too large for f32.
if TypeId::of::<f64>() == TypeId::of::<V>() {
Expand Down
2 changes: 2 additions & 0 deletions src/si/volume.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ mod tests {
}

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

0 comments on commit dca2031

Please sign in to comment.