From 6685f969e08c426ac1b71b7e7265d8186842b72c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 19 Jul 2023 00:58:50 +0200 Subject: [PATCH] Ignore harmless test failures on 32-bit architectures --- rust-regex-lite.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust-regex-lite.spec b/rust-regex-lite.spec index 00b919d..e60c013 100644 --- a/rust-regex-lite.spec +++ b/rust-regex-lite.spec @@ -89,8 +89,14 @@ use the "string" feature of the "%{crate}" crate. %check # * integration tests can only be run in-tree %cargo_test -- --lib +%ifarch %{ix86} +# * ignore harmless test failures on 32-bit architectures: +# https://github.com/rust-lang/regex/issues/1041 +%cargo_test -- --doc -- --skip string::CaptureLocations +%else %cargo_test -- --doc %endif +%endif %changelog %autochangelog