mirror of
https://github.com/golang/go
synced 2024-11-26 14:36:52 -07:00
internal/trace/v2: disable cgo callback test if cgo is not available
For #63960. Change-Id: I3d8d1567c4ee213e2ffd2bd91d0ffae9c4c42b92 Reviewed-on: https://go-review.googlesource.com/c/go/+/541535 Reviewed-by: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
3b303fa981
commit
abf84221fc
@ -85,6 +85,8 @@ func TestTraceAnnotationsStress(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTraceCgoCallback(t *testing.T) {
|
||||
testenv.MustHaveCGO(t)
|
||||
|
||||
switch runtime.GOOS {
|
||||
case "plan9", "windows":
|
||||
t.Skipf("cgo callback test requires pthreads and is not supported on %s", runtime.GOOS)
|
||||
|
Loading…
Reference in New Issue
Block a user