]> Cypherpunks repositories - gostls13.git/commitdiff
net: skip TestUnixConnLocalWindows on windows/arm
authorAlex Brainman <alex.brainman@gmail.com>
Sun, 7 Oct 2018 00:22:57 +0000 (11:22 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 8 Oct 2018 04:13:54 +0000 (04:13 +0000)
Similarly to CL 138676, skip TestUnixConnLocalWindows on windows/arm.

Fixes #28061

Change-Id: I2270d2f9d268e85ea567be0c0c37c48e4d482282
Reviewed-on: https://go-review.googlesource.com/c/140397
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/unixsock_windows_test.go

index d856e3fd815697e9899164934bca64cad0d55878..5dccc1465334ce2e4cd2cf092c2b0ceada6aae2f 100644 (file)
@@ -34,8 +34,11 @@ func isBuild17063() bool {
 }
 
 func TestUnixConnLocalWindows(t *testing.T) {
-       if runtime.GOARCH == "386" {
+       switch runtime.GOARCH {
+       case "386":
                t.Skip("not supported on windows/386, see golang.org/issue/27943")
+       case "arm":
+               t.Skip("not supported on windows/arm, see golang.org/issue/28061")
        }
        if !isBuild17063() {
                t.Skip("unix test")