From 127085e2543258e322ad8abc9cc6c864df621a0f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 28 May 2024 14:38:57 +0200 Subject: [PATCH] Skip a test that harmlessly fails on 32-bit architectures --- rust-proc-macro2.spec | 3 ++- rust2rpm.toml | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/rust-proc-macro2.spec b/rust-proc-macro2.spec index 8204bd3..5e92fa7 100644 --- a/rust-proc-macro2.spec +++ b/rust-proc-macro2.spec @@ -87,8 +87,9 @@ use the "span-locations" feature of the "%{crate}" crate. %if %{with check} %check +# * skip a test that harmlessly fails on 32-bit architectures # * skip doctests that don't compile -%cargo_test -- -- --skip 'src/lib.rs' +%cargo_test -- -- --skip test_proc_macro2_wrapper_size_without_locations --skip 'src/lib.rs' %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml index 60987fc..ac72677 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -5,6 +5,12 @@ summary = "Substitute implementation of the Rust compiler's proc_macro API" hide = ["nightly"] [tests] -skip = ["'src/lib.rs'"] -comments = ["skip doctests that don't compile"] +skip = [ + "test_proc_macro2_wrapper_size_without_locations", + "'src/lib.rs'", +] +comments = [ + "skip a test that harmlessly fails on 32-bit architectures", + "skip doctests that don't compile", +]