From aef7467e9d76d0dbab3d9933bb5c689ac2d252b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 10 Jun 2024 20:30:27 +0200 Subject: [PATCH] powerpc: disable test running into timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #1072897 Signed-off-by: Fabian Grünbichler --- .../d-ignore-test_arc_condvar_poison-ppc.patch | 12 ++++++++++++ debian/patches/series | 1 + 2 files changed, 13 insertions(+) create mode 100644 debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch diff --git a/debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch b/debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch new file mode 100644 index 0000000000..c9684a26cf --- /dev/null +++ b/debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch @@ -0,0 +1,12 @@ +Index: rustc-1.75.0+dfsg1/library/std/src/sync/mutex/tests.rs +=================================================================== +--- rustc-1.75.0+dfsg1.orig/library/std/src/sync/mutex/tests.rs ++++ rustc-1.75.0+dfsg1/library/std/src/sync/mutex/tests.rs +@@ -145,6 +145,7 @@ fn test_mutex_arc_condvar() { + } + } + ++#[cfg(not(target_arch = "powerpc"))] + #[test] + fn test_arc_condvar_poison() { + let packet = Packet(Arc::new((Mutex::new(1), Condvar::new()))); diff --git a/debian/patches/series b/debian/patches/series index 47a253e2e1..9cf609ebdc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -25,6 +25,7 @@ u-ignore-ppc-hangs.patch u-rustc-llvm-cross-flags.patch #u-allow-system-compiler-rt.patch u-hurd-tests.patch +d-ignore-test_arc_condvar_poison-ppc.patch # Debian-specific patches, not suitable for upstream d-disable-download-tests.patch