]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/pack: skip fork test on darwin/arm64
authorDavid Crawshaw <crawshaw@golang.org>
Sat, 11 Apr 2015 23:36:26 +0000 (19:36 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Mon, 13 Apr 2015 11:58:27 +0000 (11:58 +0000)
Just like darwin/arm.

Change-Id: I5ed26975670d4189a46b585a56c66c199905d168
Reviewed-on: https://go-review.googlesource.com/8823
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/pack/pack_test.go

index c472c576735573c63ed80db5bb4ac504ba2dbfc4..9c33f4f98bb64cc5737e772c0c755efe36961dc5 100644 (file)
@@ -203,8 +203,9 @@ func TestHello(t *testing.T) {
        case "android", "nacl":
                t.Skipf("skipping on %s", runtime.GOOS)
        case "darwin":
-               if runtime.GOARCH == "arm" {
-                       t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH)
+               switch runtime.GOARCH {
+               case "arm", "arm64":
+                       t.Skipf("skipping on %s/%s, cannot fork", runtime.GOOS, runtime.GOARCH)
                }
        }
 
@@ -244,8 +245,9 @@ func TestLargeDefs(t *testing.T) {
        case "android", "nacl":
                t.Skipf("skipping on %s", runtime.GOOS)
        case "darwin":
-               if runtime.GOARCH == "arm" {
-                       t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH)
+               switch runtime.GOARCH {
+               case "arm", "arm64":
+                       t.Skipf("skipping on %s/%s, cannot fork", runtime.GOOS, runtime.GOARCH)
                }
        }