Skip to content

Commit 524f820

Browse files
prattmicgopherbot
authored andcommitted
runtime: skip TestGdbCoreSignalBacktrace on arches other than 386/amd64
For #25218. Change-Id: I4024a2064e0f56755fe40eb7489ba28eb4358c60 Reviewed-on: https://go-review.googlesource.com/c/go/+/479518 Run-TryBot: Michael Pratt <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Auto-Submit: Michael Pratt <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent ed1cf6a commit 524f820

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/runtime/runtime-gdb_unix_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ func TestGdbCoreSignalBacktrace(t *testing.T) {
7070
// to know how to enable/find core files on each OS.
7171
t.Skip("Test only supported on Linux")
7272
}
73+
if runtime.GOARCH != "386" && runtime.GOARCH != "amd64" {
74+
// TODO(go.dev/issue/25218): Other architectures use sigreturn
75+
// via VDSO, which we somehow don't handle correctly.
76+
t.Skip("Backtrace through signal handler only works on 386 and amd64")
77+
}
7378

7479
checkGdbEnvironment(t)
7580
t.Parallel()

0 commit comments

Comments
 (0)