diff options
| author | Ian Lance Taylor <iant@golang.org> | 2017-11-07 15:03:53 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-11-07 23:27:28 +0000 |
| commit | 7d33667218ab010022a73b41ea9780474128a35f (patch) | |
| tree | d03aabb6e5d6070dccec2f53eee5488dc94b58ed /src | |
| parent | 647648bd475e0635ce644c947b0140fd88eef58e (diff) | |
| download | go-7d33667218ab010022a73b41ea9780474128a35f.tar.xz | |
cmd/go: don't run TestUserOverrideFlags in parallel
It creates files in the cmd/go directory, which can confuse other tests.
Fixes #22584.
Change-Id: Iad5a25c62e7d413af1648dbc5359ed78bfd61d2a
Reviewed-on: https://go-review.googlesource.com/76398
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/go/go_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index ca1e392833..c2a4f517ec 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -4342,7 +4342,8 @@ func TestUserOverrideFlags(t *testing.T) { tg := testgo(t) defer tg.cleanup() - tg.parallel() + // Don't call tg.parallel, as creating override.h and override.a may + // confuse other tests. tg.tempFile("override.go", `package main import "C" |
