1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:28:32 -06:00
go/internal/stack
Ian Cottrell dd5f9d1033 internal/stack: add the leak test
This adds a package for dealing with stacks in tests.
The only function at this time is NoLeak which verifies that a test
does not leak any goroutines, and prints a stack summary if it does.

Change-Id: I284b846f422334b745bef0e96d84138295120a62
Reviewed-on: https://go-review.googlesource.com/c/tools/+/232681
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-05-27 14:25:42 +00:00
..
gostacks internal/stack: adding an internal stack dump parsing library 2020-05-27 14:25:21 +00:00
stacktest internal/stack: add the leak test 2020-05-27 14:25:42 +00:00
parse.go internal/stack: adding an internal stack dump parsing library 2020-05-27 14:25:21 +00:00
process.go internal/stack: adding an internal stack dump parsing library 2020-05-27 14:25:21 +00:00
stack_test.go internal/stack: adding an internal stack dump parsing library 2020-05-27 14:25:21 +00:00
stack.go internal/stack: adding an internal stack dump parsing library 2020-05-27 14:25:21 +00:00