]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix test failures with -count=2
authorBryan C. Mills <bcmills@google.com>
Thu, 12 Mar 2020 13:29:14 +0000 (09:29 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 12 Mar 2020 17:46:03 +0000 (17:46 +0000)
commitc4113b64c2b21e55949f7b28249f03c25bf63072
tree4bedaf6d12e02b77d2df082b1f76ec28503f58e1
parent040855e39bb471b09f3803cbca2c8d683b2bc6dc
cmd/go: fix test failures with -count=2

In each test, either set the -n flag to avoid writing build artifacts
to the cache, or set GOCACHE explicitly to point to a clean cache.

Tested manually with 'go test -count=2 cmd/go'.

Fixes #37820

Change-Id: I24403e738b1a10d5fe9dc8d98ef27a76ebe2704a
Reviewed-on: https://go-review.googlesource.com/c/go/+/223140
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/testdata/script/build_gcflags.txt
src/cmd/go/testdata/script/cgo_flag_contains_space.txt
src/cmd/go/testdata/script/gcflags_patterns.txt
src/cmd/go/testdata/script/mod_get_commit.txt
src/cmd/go/testdata/script/mod_get_tags.txt