From: Michael Pratt Date: Mon, 4 Dec 2023 22:47:52 +0000 (-0500) Subject: runtime: require cgo for cgo gdb test X-Git-Tag: go1.22rc1~111 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=098f059d077d01d9151e2e76901f62a7f2d52fec;p=gostls13.git 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 --- 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)