1
0
mirror of https://github.com/golang/go synced 2024-11-17 10:54:50 -07:00

runtime: require cgo for cgo gdb test

Fixes #64542.

Change-Id: Ic0dc37dfefac83fd3aab6dacfec58b8ee9105fbd
Reviewed-on: https://go-review.googlesource.com/c/go/+/547135
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Commit-Queue: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
Michael Pratt 2023-12-04 17:47:52 -05:00 committed by Gopher Robot
parent 818de275c0
commit 098f059d07

View File

@ -296,6 +296,7 @@ func TestGdbCoreCrashThreadBacktrace(t *testing.T) {
t.Skip("Backtrace through signal handler only works on 386 and amd64")
}
testenv.MustHaveCGO(t)
checkGdbEnvironment(t)
t.Parallel()
checkGdbVersion(t)