Commit d278f093 authored by Russ Cox's avatar Russ Cox

cmd/go: skip TestScript/mod_* on Windows

I don't know why it's failing.
Filed #26457.

Change-Id: I84833293a572c5a1a25135bd01cb88518fc7441e
Reviewed-on: https://go-review.googlesource.com/124857
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent eec9a895
...@@ -42,6 +42,10 @@ func TestScript(t *testing.T) { ...@@ -42,6 +42,10 @@ func TestScript(t *testing.T) {
file := file file := file
name := strings.TrimSuffix(filepath.Base(file), ".txt") name := strings.TrimSuffix(filepath.Base(file), ".txt")
t.Run(name, func(t *testing.T) { t.Run(name, func(t *testing.T) {
if strings.HasPrefix(name, "mod_") && runtime.GOOS == "windows" {
// Windows is very unhappy about the module proxy.
t.Skip("golang.org/issue/26457")
}
t.Parallel() t.Parallel()
ts := &testScript{t: t, name: name, file: file} ts := &testScript{t: t, name: name, file: file}
ts.setup() ts.setup()
......
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