fish-shell/printf/src
Mahmoud Al-Qudsi f1ae170155 printf: Ignore some floating point tests under i586
A few specific tests fail under i586 due to its inherent floating point
inaccuracy issues (rust-lang/rust#114479), so ignore these tests if certain
are met.

We have specific integration tests elsewhere in fish to check that even under
i586 we get mostly sane results, so this is OK. I tried to modify the assert
macros to check for a loose string match (up to one character difference) or an
f64 abs diff of less than epsilon, but it was a lot of code with little value
and increased the friction to contributing to the tests. Also, let's just
acknowledge the fact that all of i686, let alone i586 specifically, is a dead
end and not worth investing such time and effort into so long as it more or less
"works".

Closes #10474.
2024-06-23 16:14:02 -05:00
..
fmt_fp Add printf crate to workspace 2024-05-26 16:07:27 -04:00
arg.rs Add printf crate to workspace 2024-05-26 16:07:27 -04:00
lib.rs Add printf crate to workspace 2024-05-26 16:07:27 -04:00
locale.rs Add printf crate to workspace 2024-05-26 16:07:27 -04:00
printf_impl.rs Add printf crate to workspace 2024-05-26 16:07:27 -04:00
tests.rs printf: Ignore some floating point tests under i586 2024-06-23 16:14:02 -05:00