From b0cf16852564b3d39b28fbc8647b9123073bc0c7 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 12 Jul 2023 17:21:04 +0200 Subject: [PATCH] Ignore harmless test failures on 32-bit architectures --- rust-regex-automata.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust-regex-automata.spec b/rust-regex-automata.spec index 96dbf04..522a3c8 100644 --- a/rust-regex-automata.spec +++ b/rust-regex-automata.spec @@ -427,8 +427,14 @@ use the "unicode-word-boundary" 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/1039 +%cargo_test -- --doc -- --skip dfa::dense::Config::determinize_size_limit --skip util::captures::Captures::get_group +%else %cargo_test -- --doc %endif +%endif %changelog %autochangelog