mirror of https://github.com/golang/go.git
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: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
eec9a89560
commit
d278f09333
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue