diff --git a/rust-aho-corasick.spec b/rust-aho-corasick.spec index 384340b..18e8274 100644 --- a/rust-aho-corasick.spec +++ b/rust-aho-corasick.spec @@ -100,8 +100,18 @@ use the "std" feature of the "%{crate}" crate. %if %{with check} %check +%ifarch %{ix86} +# * ignore harmless test failure on 32-bit architectures: +# https://github.com/BurntSushi/aho-corasick/issues/116 +%cargo_test -- -- --skip ahocorasick::AhoCorasick::memory_usage +%elifarch s390x +# * ignore harmless test failure on big-endian architectures: +# https://github.com/BurntSushi/aho-corasick/issues/117 +%cargo_test -- -- --skip nfa::contiguous::tests::swar +%else %cargo_test %endif +%endif %changelog %autochangelog