Documentation
¶
Overview ¶
Package testbuild reports how the test binary was built.
Index ¶
Constants ¶
const AllocBudgetsHold = !debug.Enabled && !Race
AllocBudgetsHold reports a build whose instrumentation does not allocate: neither lysdebug, whose traces allocate, nor -race.
const Race = false
Race reports a build with the race detector.
Variables ¶
This section is empty.
Functions ¶
func GoroutineID ¶
func GoroutineID() uint64
GoroutineID is the calling goroutine's id, parsed from its stack header.
func SkipAllocBudget ¶
SkipAllocBudget skips an allocation budget in a build whose instrumentation allocates.
Types ¶
This section is empty.