summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:19:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:19:15 +0000
commit18b24077b8c16cb5ed77c43c1e4bc9a8a9e7b5f7 (patch)
tree43f6fe8077ed08a93c205eb8b86ce433bfa8411a /debian/patches
parentAdding upstream version 1.21.8. (diff)
downloadgolang-1.21-18b24077b8c16cb5ed77c43c1e4bc9a8a9e7b5f7.tar.xz
golang-1.21-18b24077b8c16cb5ed77c43c1e4bc9a8a9e7b5f7.zip
Adding debian version 1.21.8-1.debian/1.21.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch24
-rw-r--r--debian/patches/series1
2 files changed, 25 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..bc288a0
--- /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 8d205e1..9a01d89 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:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4764021
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch