1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:24:39 -07:00

go/types: exclude a couple of files from the stdlib test that don't parse on Windows.

They use stuff in syscall that doesn't exist on Windows, and this test does not
parse build tags (not that we make that easy) to automatically skip them.

R=golang-dev, r, gri
CC=golang-dev
https://golang.org/cl/12453043
This commit is contained in:
David Symonds 2013-08-05 13:54:22 +10:00
parent c333e7a7b6
commit 1dce9cc7c7

View File

@ -98,6 +98,7 @@ func TestStdtest(t *testing.T) {
testTestDir(t, filepath.Join(runtime.GOROOT(), "test"), testTestDir(t, filepath.Join(runtime.GOROOT(), "test"),
"cmplxdivide.go", // also needs file cmplxdivide1.go - ignore "cmplxdivide.go", // also needs file cmplxdivide1.go - ignore
"goto.go", "label1.go", // TODO(gri) implement missing label checks "goto.go", "label1.go", // TODO(gri) implement missing label checks
"mapnan.go", "sigchld.go", // don't work on Windows; testTestDir should consult build tags
"sizeof.go", "switch.go", // TODO(gri) tone down duplicate checking in expr switches "sizeof.go", "switch.go", // TODO(gri) tone down duplicate checking in expr switches
"typeswitch2.go", // TODO(gri) implement duplicate checking in type switches "typeswitch2.go", // TODO(gri) implement duplicate checking in type switches
) )