mirror of
https://github.com/golang/go.git
synced 2026-06-28 03:40:37 +00:00
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:
parent
87fe5fafba
commit
bb416f5057
1 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue