1
0
mirror of https://github.com/golang/go synced 2024-11-19 08:54:47 -07:00

net: skip new TestReadFromUDP on nacl and plan9 (fixes build)

TBR=0intro
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/157820043
This commit is contained in:
Alex Brainman 2014-10-10 09:46:41 +11:00
parent 3114bd6f97
commit eeb2211a5b

View File

@ -36,6 +36,11 @@ func TestResolveUDPAddr(t *testing.T) {
} }
func TestReadFromUDP(t *testing.T) { func TestReadFromUDP(t *testing.T) {
switch runtime.GOOS {
case "nacl", "plan9":
t.Skipf("skipping test on %q", runtime.GOOS)
}
ra, err := ResolveUDPAddr("udp", "127.0.0.1:7") ra, err := ResolveUDPAddr("udp", "127.0.0.1:7")
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)