runtime: disable CgoCallbackX15 test on freebsd+race

That configuration is not supported. See #73788.

Fixes #79079

Change-Id: I74d0865de985513c087a2c26c9fd5ffc63edf93b
Reviewed-on: https://go-review.googlesource.com/c/go/+/772604
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
Keith Randall 2026-04-30 20:02:35 -07:00 committed by Gopher Robot
parent 87fe5fafba
commit bb416f5057

View file

@ -108,6 +108,9 @@ func TestCgoCallbackX15(t *testing.T) {
if runtime.GOARCH != "amd64" {
t.Skipf("X15 test only relevant on amd64")
}
if runtime.GOOS == "freebsd" && race.Enabled {
t.Skipf("race + cgo freebsd not supported. See https://go.dev/issue/73788.")
}
got := runTestProg(t, "testprogcgo", "CgoCallbackX15")
if want := "OK\n"; got != want {