From 098f059d077d01d9151e2e76901f62a7f2d52fec Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 4 Dec 2023 17:47:52 -0500 Subject: [PATCH] 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 Run-TryBot: Michael Pratt Auto-Submit: Michael Pratt Commit-Queue: Michael Pratt Reviewed-by: Cherry Mui Reviewed-by: Bryan Mills --- src/runtime/runtime-gdb_unix_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/runtime-gdb_unix_test.go b/src/runtime/runtime-gdb_unix_test.go index 23eb3e2362f..a1f2401a6e4 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)