From eeb2211a5b88ae0774fbfd5bccc1de329e7663f7 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Fri, 10 Oct 2014 09:46:41 +1100 Subject: [PATCH] net: skip new TestReadFromUDP on nacl and plan9 (fixes build) TBR=0intro R=golang-codereviews CC=golang-codereviews https://golang.org/cl/157820043 --- src/net/udp_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/net/udp_test.go b/src/net/udp_test.go index a102acf6c5d..aa5751557f0 100644 --- a/src/net/udp_test.go +++ b/src/net/udp_test.go @@ -36,6 +36,11 @@ func TestResolveUDPAddr(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") if err != nil { t.Fatal(err)