mirror of
https://github.com/golang/go
synced 2024-09-30 20:38:32 -06:00
go.tools/cmd/vet: disable TestVet on Plan 9
LGTM=minux.ma R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/64410043
This commit is contained in:
parent
829d52f2e8
commit
374c600cae
@ -24,9 +24,10 @@ const (
|
||||
// rm testvet
|
||||
//
|
||||
func TestVet(t *testing.T) {
|
||||
// Windows systems can't be guaranteed to have Perl and so can't run errchk.
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip("skipping test; no Perl on Windows")
|
||||
// Plan 9 and Windows systems can't be guaranteed to have Perl and so can't run errchk.
|
||||
switch runtime.GOOS {
|
||||
case "plan9", "windows":
|
||||
t.Skip("skipping test; no Perl on %q", runtime.GOOS)
|
||||
}
|
||||
|
||||
// go build
|
||||
|
Loading…
Reference in New Issue
Block a user