]> Cypherpunks repositories - gostls13.git/commitdiff
net: skip new TestReadFromUDP on nacl and plan9 (fixes build)
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 9 Oct 2014 22:46:41 +0000 (09:46 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 9 Oct 2014 22:46:41 +0000 (09:46 +1100)
TBR=0intro
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/157820043

src/net/udp_test.go

index a102acf6c5deb37ec39e7141b8e274da6b8f70b3..aa5751557f0f18f3c30ac7bf6a365b259b3e2e99 100644 (file)
@@ -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)