]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: require cgo for cgo gdb test
authorMichael Pratt <mpratt@google.com>
Mon, 4 Dec 2023 22:47:52 +0000 (17:47 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 4 Dec 2023 23:03:04 +0000 (23:03 +0000)
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>
src/runtime/runtime-gdb_unix_test.go

index 23eb3e2362f184ce339ab1d2235572961fdd27d5..a1f2401a6e4423ff11d434ba66e380ecc993c17c 100644 (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)