Commit 7d336672 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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/76398Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 647648bd
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment