aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2017-11-07 15:03:53 -0800
committerIan Lance Taylor <iant@golang.org>2017-11-07 23:27:28 +0000
commit7d33667218ab010022a73b41ea9780474128a35f (patch)
treed03aabb6e5d6070dccec2f53eee5488dc94b58ed /src
parent647648bd475e0635ce644c947b0140fd88eef58e (diff)
downloadgo-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.go3
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"