From 0a61c6821fc5355a678bf6f7da9f078ee1b2edb3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 12 Jul 2023 19:14:32 +0200 Subject: [PATCH] Ignore harmless test failures on 32-bit architectures --- rust-regex.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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