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

epel10
Fabio Valentini 1 year ago
parent 904ff0baa7
commit e7597d7dc1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -153,7 +153,9 @@ use the "use-intrinsics" feature of the "%{crate}" crate.
%if %{with 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
%changelog

@ -1,3 +1,13 @@
[package]
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