mirror of
https://github.com/golang/go
synced 2024-11-26 18:26:48 -07:00
cmd/go: don't run TestInstalls in short mode
It changes GOROOT, so we shouldn't run it in short mode. Also, it's fairly slow. Update #11779. Change-Id: I3d3344954cf9b2ac70070c878a67cb65ac8fd85c Reviewed-on: https://go-review.googlesource.com/12364 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
parent
f7e7719f65
commit
f35868a49a
@ -1207,6 +1207,10 @@ func TestGoGetNonPkg(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestInstalls(t *testing.T) {
|
func TestInstalls(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("don't install into GOROOT in short mode")
|
||||||
|
}
|
||||||
|
|
||||||
tg := testgo(t)
|
tg := testgo(t)
|
||||||
defer tg.cleanup()
|
defer tg.cleanup()
|
||||||
tg.parallel()
|
tg.parallel()
|
||||||
|
Loading…
Reference in New Issue
Block a user