summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:25:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:25:24 +0000
commit72ca0d52ddd1bcc243afe80b78fd9d0e0a6cc936 (patch)
tree366eb95223e97792f05d22eec56b675c5a0b33ec /debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
parentAdding upstream version 1.22.1. (diff)
downloadgolang-1.22-72ca0d52ddd1bcc243afe80b78fd9d0e0a6cc936.tar.xz
golang-1.22-72ca0d52ddd1bcc243afe80b78fd9d0e0a6cc936.zip
Adding debian version 1.22.1-1.debian/1.22.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch')
-rw-r--r--debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch b/debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
new file mode 100644
index 0000000..5c5881f
--- /dev/null
+++ b/debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
@@ -0,0 +1,24 @@
+From: Shengjing Zhu <zhsj@debian.org>
+Date: Mon, 26 Feb 2024 17:03:06 +0800
+Subject: Skip flaky TestCrashDumpsAllThreads on mips64le
+
+crash_unix_test.go:145: found 3 instances of main.crashDumpsAllThreadsLoop; expected 4
+---
+ 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 123a462..20a7ca6 100644
+--- a/src/runtime/crash_unix_test.go
++++ b/src/runtime/crash_unix_test.go
+@@ -59,6 +59,10 @@ func TestCrashDumpsAllThreads(t *testing.T) {
+ t.Skip("-quick")
+ }
+
++ if runtime.GOARCH == "mips64le" {
++ t.Skipf("skipping; flaky on %s", runtime.GOARCH)
++ }
++
+ switch runtime.GOOS {
+ case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "illumos", "solaris":
+ default: