Skip to content

Commit

Permalink
cmd/go/testdata/script: fix skip on list_replace_absolute_windows
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
matloob authored and gopherbot committed Jun 8, 2022
1 parent 80f86f7 commit b51d44c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cmd/go/testdata/script/list_replace_absolute_windows.txt
Expand Up @@ -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
Expand Down

0 comments on commit b51d44c

Please sign in to comment.