Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NeedsExec ¶
NeedsExec checks that the current system can start new processes using os.StartProcess or (more commonly) exec.Command. If not, NeedsExec calls t.Skip with an explanation.
On some platforms NeedsExec checks for exec support by re-executing the current executable, which must be a binary built by 'go test'. We intentionally do not provide a HasExec function because of the risk of inappropriate recursion in TestMain functions.
func NeedsGoBuild ¶
func NeedsLocalhostNet ¶
NeedsLocalhostNet skips t if networking does not work for ports opened with "localhost".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.