aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2023-12-04 17:47:52 -0500
committerGopher Robot <gobot@golang.org>2023-12-04 23:03:04 +0000
commit098f059d077d01d9151e2e76901f62a7f2d52fec (patch)
tree64ab426d87c771028ea119c41e072adefd65ae2d /src/runtime
parent818de275c0170dce86f2e4c6b3c70fbbea99bf94 (diff)
downloadgo-098f059d077d01d9151e2e76901f62a7f2d52fec.tar.xz
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>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/runtime-gdb_unix_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime-gdb_unix_test.go b/src/runtime/runtime-gdb_unix_test.go
index 23eb3e2362..a1f2401a6e 100644
--- a/src/runtime/runtime-gdb_unix_test.go
+++ b/src/runtime/runtime-gdb_unix_test.go
@@ -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)