mirror of https://github.com/golang/go.git
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 <mpratt@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
ed1cf6ab3e
commit
524f820b7f
|
|
@ -70,6 +70,11 @@ func TestGdbCoreSignalBacktrace(t *testing.T) {
|
|||
// to know how to enable/find core files on each OS.
|
||||
t.Skip("Test only supported on Linux")
|
||||
}
|
||||
if runtime.GOARCH != "386" && runtime.GOARCH != "amd64" {
|
||||
// TODO(go.dev/issue/25218): Other architectures use sigreturn
|
||||
// via VDSO, which we somehow don't handle correctly.
|
||||
t.Skip("Backtrace through signal handler only works on 386 and amd64")
|
||||
}
|
||||
|
||||
checkGdbEnvironment(t)
|
||||
t.Parallel()
|
||||
|
|
|
|||
Loading…
Reference in New Issue