Debian Codegraph @

debian/patches/0005-Skip-TestTSAN-test-on-s390x.patch

raw
1 From: "Dr. Tobias Quathamer" <[email protected]>
2 Date: Mon, 9 Feb 2026 20:40:50 +0100
3 Subject: Skip TestTSAN test on s390x.
4
5 The test consistently fails, and is probably a real bug.
6 It's currently being investigated, but until that is
7 resolved, we disable the test to be able to build the
8 golang package, so it can migrate to testing.
9
10 Forwarded: https://github.com/golang/go/issues/77289
11 Bug-Debian: https://bugs.debian.org/1126312
12 ---
13 src/cmd/cgo/internal/testsanitizers/tsan_test.go | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/src/cmd/cgo/internal/testsanitizers/tsan_test.go b/src/cmd/cgo/internal/testsanitizers/tsan_test.go
17 index 243e396..d124077 100644
18 --- a/src/cmd/cgo/internal/testsanitizers/tsan_test.go
19 +++ b/src/cmd/cgo/internal/testsanitizers/tsan_test.go
20 @@ -32,7 +32,9 @@ func TestTSAN(t *testing.T) {
21 if goarch == "riscv64" {
22 t.Skipf("skipping TestTSAN test on %s (see https://github.com/golang/go/issues/75553)", goarch)
23 }
24 -
25 + if goarch == "s390x" {
26 + t.Skipf("skipping TestTSAN test on %s (see https://github.com/golang/go/issues/77289)", goarch)
27 + }
28
29 t.Parallel()
30 requireOvercommit(t)