diff options
author | David Crawshaw <crawshaw@golang.org> | 2015-04-11 19:36:26 -0400 |
---|---|---|
committer | David Crawshaw <crawshaw@golang.org> | 2015-04-13 11:58:27 +0000 |
commit | d5bb4380c89bf688145204e0bc0dd1c2e1a77a9b (patch) | |
tree | 358192e4fd7322846e45710b984ed35ee68e1e0b /src | |
parent | 0a81d31b66566cc62f028825612b9c1c858870ef (diff) | |
download | go-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')
-rw-r--r-- | src/cmd/pack/pack_test.go | 10 |
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) } } |