]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/testdata/script: fix skip on list_replace_absolute_windows
authorMichael Matloob <matloob@golang.org>
Wed, 8 Jun 2022 23:14:11 +0000 (19:14 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 8 Jun 2022 23:36:35 +0000 (23:36 +0000)
The test should skip if it's not on windows *or* it's a short test, but
instead is now skipping if it's not on windows *and* it's a short test,
causing it to be run on non-windows longtest builders.

Change-Id: Ica011bab632b713b0564fefabd5b42878d401844
Reviewed-on: https://go-review.googlesource.com/c/go/+/411122
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Michael Matloob <matloob@golang.org>
Auto-Submit: Michael Matloob <matloob@golang.org>

src/cmd/go/testdata/script/list_replace_absolute_windows.txt

index 6f5d737aded7d4feab932a000968cb7ba2033914..b3ff2a7c2d65cfdc5e6f07944e624f1936b6722f 100644 (file)
@@ -3,7 +3,8 @@
 # whether the modindex logic cleans the modroot path before using
 # it.
 
-[!windows] [short] skip
+[!windows] skip
+[short] skip
 
 go run print_go_mod.go # use this program to write a go.mod with an absolute path
 cp stdout go.mod