summaryrefslogtreecommitdiff
path: root/src/cmd/pack
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2015-04-11 19:36:26 -0400
committerDavid Crawshaw <crawshaw@golang.org>2015-04-13 11:58:27 +0000
commitd5bb4380c89bf688145204e0bc0dd1c2e1a77a9b (patch)
tree358192e4fd7322846e45710b984ed35ee68e1e0b /src/cmd/pack
parent0a81d31b66566cc62f028825612b9c1c858870ef (diff)
downloadgo-git-d5bb4380c89bf688145204e0bc0dd1c2e1a77a9b.tar.gz
cmd/pack: skip fork test on darwin/arm64
Just like darwin/arm. Change-Id: I5ed26975670d4189a46b585a56c66c199905d168 Reviewed-on: https://go-review.googlesource.com/8823 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/cmd/pack')
-rw-r--r--src/cmd/pack/pack_test.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cmd/pack/pack_test.go b/src/cmd/pack/pack_test.go
index c472c57673..9c33f4f98b 100644
--- a/src/cmd/pack/pack_test.go
+++ b/src/cmd/pack/pack_test.go
@@ -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)
}
}