From e8b3455e39718782b59923ed55d1cea1cbd71a0c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 14 Feb 2024 17:22:44 +0100 Subject: [PATCH] Ignore one harmless test failure on s390x and one OOM issue on i686 --- rust-ahash.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/rust-ahash.spec b/rust-ahash.spec index dcba9ae..1e7382d 100644 --- a/rust-ahash.spec +++ b/rust-ahash.spec @@ -176,8 +176,19 @@ rm tests/{bench.rs,map_tests.rs} %if %{with check} %check +%ifarch x86_64 aarch64 ppc64le %cargo_test %endif +%ifarch %{ix86} +# * skip tests that cannot allocate enough memory +%cargo_test -- -- --skip hash_quality_test::fallback_tests::fallback_test_no_full_collisions +%endif +%ifarch s390x +# * one test fails only on s390x: +# https://github.com/tkaitchuck/aHash/issues/152 +%cargo_test -- -- --skip operations::test::test_add_length +%endif +%endif %changelog %autochangelog