1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:34:51 -07:00
go/internal/testenv
Michael Matloob 03e6e36be9 internal/testenv: add a NeedsGoBuild function
This function will skip tests in test environments where
the go command can't be used to build and run binaries.

This will be used by the test in golang.org/cl/236758

Change-Id: Ie61e8890084179b0e999dd377148693395043191
Reviewed-on: https://go-review.googlesource.com/c/tools/+/236920
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-06-10 16:09:22 +00:00
..
testenv_112.go all: skip tests if required tools are not found 2019-08-30 15:40:57 +00:00
testenv.go internal/testenv: add a NeedsGoBuild function 2020-06-10 16:09:22 +00:00