mirror of
https://github.com/golang/go
synced 2024-11-18 16:04:44 -07: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
|
// rm testvet
|
||||||
//
|
//
|
||||||
func TestVet(t *testing.T) {
|
func TestVet(t *testing.T) {
|
||||||
// Windows systems can't be guaranteed to have Perl and so can't run errchk.
|
// Plan 9 and Windows systems can't be guaranteed to have Perl and so can't run errchk.
|
||||||
if runtime.GOOS == "windows" {
|
switch runtime.GOOS {
|
||||||
t.Skip("skipping test; no Perl on Windows")
|
case "plan9", "windows":
|
||||||
|
t.Skip("skipping test; no Perl on %q", runtime.GOOS)
|
||||||
}
|
}
|
||||||
|
|
||||||
// go build
|
// go build
|
||||||
|
Loading…
Reference in New Issue
Block a user