Skip tests that fail with Rust 1.75+ when built in release mode

epel10
Fabio Valentini 1 year ago
parent 23881defed
commit a451088858
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -151,7 +151,9 @@ use the "use-intrinsics" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
%cargo_test # * skip tests that fail with Rust 1.75+ when built in release mode:
# https://github.com/starkat99/half-rs/issues/103
%cargo_test -- -- --exact --skip bfloat::test::test_nan_conversion_to_larger --skip bfloat::test::test_nan_conversion_to_smaller --skip binary16::test::test_nan_conversion_to_larger --skip binary16::test::test_nan_conversion_to_smaller
%endif %endif
%changelog %changelog

@ -1,3 +1,13 @@
[package] [package]
summary = "Half-precision floating point f16 and bf16 types for Rust" summary = "Half-precision floating point f16 and bf16 types for Rust"
[tests]
skip = [
"bfloat::test::test_nan_conversion_to_larger",
"bfloat::test::test_nan_conversion_to_smaller",
"binary16::test::test_nan_conversion_to_larger",
"binary16::test::test_nan_conversion_to_smaller",
]
skip-exact = true
comments = ["skip tests that fail with Rust 1.75+ when built in release mode: https://github.com/starkat99/half-rs/issues/103"]

Loading…
Cancel
Save