Documentation ¶
Overview ¶
Package testenv contains helper functions for skipping tests based on which tools are present in the environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitIfSmallMachine ¶
func ExitIfSmallMachine()
ExitIfSmallMachine emits a helpful diagnostic and calls os.Exit(0) if the current machine is a builder known to have scarce resources.
It should be called from within a TestMain function.
func NeedsGo1Point ¶
NeedsGo1Point skips t if the Go version used to run the test is older than 1.x.
Types ¶
Click to show internal directories.
Click to hide internal directories.