diff --git a/rust-regex.spec b/rust-regex.spec index 17dc2be..0c8df51 100644 --- a/rust-regex.spec +++ b/rust-regex.spec @@ -318,8 +318,14 @@ use the "use_std" feature of the "%{crate}" crate. %if %{with check} %check +%ifarch %{ix86} +# * ignore harmless test failures on 32-bit architectures: +# https://github.com/rust-lang/regex/issues/1039 +%cargo_test -- -- --skip builders::bytes::RegexBuilder::size_limit --skip builders::bytes::RegexSetBuilder::size_limit --skip builders::string::RegexBuilder::size_limit --skip builders::string::RegexSetBuilder::size_limit --skip regex::bytes::CaptureLocations --skip regex::string::CaptureLocations +%else %cargo_test %endif +%endif %changelog %autochangelog