File: 0002-Skip-flaky-TestCrashDumpsAllThreads-on-s390x.patch

package info (click to toggle)
golang-1.24 1.24.4-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid
  • size: 167,820 kB
  • sloc: asm: 154,901; ansic: 7,009; sh: 2,267; javascript: 1,705; perl: 1,052; python: 421; makefile: 110; cpp: 39; f90: 8; awk: 7; objc: 4
file content (24 lines) | stat: -rw-r--r-- 780 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Shengjing Zhu <zhsj@debian.org>
Date: Tue, 16 Apr 2024 16:04:03 +0800
Subject: Skip flaky TestCrashDumpsAllThreads on s390x

Bug: https://github.com/golang/go/issues/64650
---
 src/runtime/crash_unix_test.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/runtime/crash_unix_test.go b/src/runtime/crash_unix_test.go
index 20a7ca6..23cc273 100644
--- a/src/runtime/crash_unix_test.go
+++ b/src/runtime/crash_unix_test.go
@@ -63,6 +63,10 @@ func TestCrashDumpsAllThreads(t *testing.T) {
 		t.Skipf("skipping; flaky on %s", runtime.GOARCH)
 	}
 
+	if runtime.GOARCH == "s390x" {
+		t.Skipf("skipping; flaky on %s", runtime.GOARCH)
+	}
+
 	switch runtime.GOOS {
 	case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "illumos", "solaris":
 	default: