]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
runtime: reject any goroutine leak test failure that failed to execute
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 3 Dec 2025 22:29:19 +0000 (22:29 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 5 Dec 2025 18:38:31 +0000 (10:38 -0800)
commit435e61c80141653c22e29d81447e4c6e4033f768
treef88a1c3fb85766cf6119f5084275bd8b92d3e725
parent54e5540014f7aa7c85a3a5988259ef40637d541a
runtime: reject any goroutine leak test failure that failed to execute

This is far more general than the regexp, which was necessary only
because runTestProg doesn't return the error. This change makes
runTestProg a wrapper function around a function that *does* return the
error.

For #76526.

Change-Id: Ib3daa75eb0fe314a28a7a368474943ba470d0d4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/726525
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/crash_test.go
src/runtime/goroutineleakprofile_test.go