From c6083fadfcc19289bd5c6b72092414740f8f7b0c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 8 Dec 2023 20:31:08 +0100 Subject: [PATCH] Skip a test that fails on ppc64le --- rust-memmap2.spec | 4 +++- rust2rpm.toml | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 rust2rpm.toml diff --git a/rust-memmap2.spec b/rust-memmap2.spec index 858a163..e38084d 100644 --- a/rust-memmap2.spec +++ b/rust-memmap2.spec @@ -75,7 +75,9 @@ use the "stable_deref_trait" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# * skip a test that fails on ppc64le: +# https://github.com/RazrFalcon/memmap2-rs/issues/105 +%cargo_test -- -- --exact --skip test::advise_writes_unsafely_to_part_of_map %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..23c6eb4 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[tests] +skip = ["test::advise_writes_unsafely_to_part_of_map"] +skip-exact = true +comments = [ + "skip a test that fails on ppc64le: https://github.com/RazrFalcon/memmap2-rs/issues/105", +] +