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", +] +