Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gocore/test: split run into runCrasher and doRunCrasher
Refactors the run function by splitting it in two, making it easier to reuse for more involved tests that need to set different parameters (flags, other environment variables). This commit also makes the otherwise unrelated change of setting GOMAXPROCS=2 in the child binary. This can reduce the size of the crash stack (fewer GC workers). Change-Id: I4edd5c51fdfed6b8bb57f2e682cb98dc084e50a5 Reviewed-on: https://go-review.googlesource.com/c/debug/+/632296 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Nicolas Hillegeer <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
- Loading branch information