all: use t.Skip{,f}

Replace various t.Log{,f} ; return checks with t.Skip{,f}.

R=golang-dev, n13m3y3r, bradfitz, adg, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/7193044
This commit is contained in:
Dave Cheney 2013-01-24 17:32:10 +11:00
parent 2e51f78280
commit 6a9e956f19
31 changed files with 126 additions and 256 deletions

View file

@ -90,8 +90,7 @@ var fileListenerTests = []struct {
func TestFileListener(t *testing.T) {
switch runtime.GOOS {
case "plan9", "windows":
t.Logf("skipping test on %q", runtime.GOOS)
return
t.Skipf("skipping test on %q", runtime.GOOS)
}
for _, tt := range fileListenerTests {
@ -181,8 +180,7 @@ var filePacketConnTests = []struct {
func TestFilePacketConn(t *testing.T) {
switch runtime.GOOS {
case "plan9", "windows":
t.Logf("skipping test on %q", runtime.GOOS)
return
t.Skipf("skipping test on %q", runtime.GOOS)
}
for _, tt := range filePacketConnTests {