1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:08:33 -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:
David du Colombier 2014-02-20 21:43:24 +01:00
parent 829d52f2e8
commit 374c600cae

View File

@ -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