From 88e7ea3436c927dc96714a51475675d94776339a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 5 Mar 2024 22:20:57 +0100 Subject: [PATCH] Skip a test that tends to hang indefinitely --- rayon-fix-metadata.diff | 2 +- rust-rayon.spec | 4 +++- rust2rpm.toml | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 rust2rpm.toml diff --git a/rayon-fix-metadata.diff b/rayon-fix-metadata.diff index fe59d0b..46eac23 100644 --- a/rayon-fix-metadata.diff +++ b/rayon-fix-metadata.diff @@ -1,5 +1,5 @@ --- rayon-1.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rayon-1.9.0/Cargo.toml 2024-03-05T14:03:02.218079+00:00 ++++ rayon-1.9.0/Cargo.toml 2024-03-05T20:55:47.624022+00:00 @@ -44,18 +44,8 @@ [dependencies.rayon-core] version = "1.12.1" diff --git a/rust-rayon.spec b/rust-rayon.spec index 0dc8f4b..d178f27 100644 --- a/rust-rayon.spec +++ b/rust-rayon.spec @@ -67,7 +67,9 @@ use the "default" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# * skip a test that tends to hang indefinitely: +# https://github.com/rayon-rs/rayon/issues/1142 +%cargo_test -- -- --exact --skip par_bridge_recursion %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..88483d1 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[tests] +skip = ["par_bridge_recursion"] +skip-exact = true +comments = ["skip a test that tends to hang indefinitely: https://github.com/rayon-rs/rayon/issues/1142"] +