]> Cypherpunks repositories - gostls13.git/commit
runtime: skip TestCgoCallbackPprof on platforms with broken profiling
authorMichael Pratt <mpratt@google.com>
Mon, 17 Mar 2025 12:11:42 +0000 (12:11 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 17 Mar 2025 13:04:15 +0000 (06:04 -0700)
commit7dd7d70c034a24ac98e52bd4e6dac3ce35c60271
tree090fec317901646fe2430e687854607a17c4670a
parentf41fdd962db3264e62ec6acb4a8f5e40d22bdfed
runtime: skip TestCgoCallbackPprof on platforms with broken profiling

CL 658035 added TestCgoCallbackPprof, which is consistently failing on
solaris. runtime/pprof maintains a list of platforms where CPU profiling
does not work properly. Since this test requires CPU profiling, skip the
this test on those platforms.

For #72870.
Fixes #72876.

Change-Id: I6a6a636cbf6b16abcbba8771178fe1d001be9d9b
Reviewed-on: https://go-review.googlesource.com/c/go/+/658415
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/internal/testenv/testenv.go
src/runtime/crash_cgo_test.go
src/runtime/pprof/pprof_test.go