]> git.proxmox.com Git - rustc.git/commitdiff
powerpc: disable test running into timeout
authorFabian Grünbichler <git@fabian.gruenbichler.email>
Mon, 10 Jun 2024 18:30:27 +0000 (20:30 +0200)
committerFabian Grünbichler <git@fabian.gruenbichler.email>
Mon, 10 Jun 2024 18:31:57 +0000 (20:31 +0200)
Closes: #1072897
Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch [new file with mode: 0644]
debian/patches/series

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 (file)
index 0000000..c9684a2
--- /dev/null
@@ -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())));
index 47a253e2e11637f36314e63e8ae7a520e03c4382..9cf609ebdcfe69cd5362cfbaacdc9ece6c796151 100644 (file)
@@ -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