1
0
mirror of https://github.com/golang/go synced 2024-10-03 06:21:21 -06:00

cmd/nm: skip fork test on darwin/arm64

Just like darwin/arm.

Change-Id: Iabb6282f18548da43117ee60f7ad6e272502f09d
Reviewed-on: https://go-review.googlesource.com/8825
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
David Crawshaw 2015-04-11 19:38:45 -04:00
parent 84efd6fc74
commit bbbbca78a6

View File

@ -59,8 +59,9 @@ func TestNM(t *testing.T) {
case "android", "nacl": case "android", "nacl":
t.Skipf("skipping on %s", runtime.GOOS) t.Skipf("skipping on %s", runtime.GOOS)
case "darwin": case "darwin":
if runtime.GOARCH == "arm" { switch runtime.GOARCH {
t.Skipf("skipping on %s/%s", runtime.GOOS, runtime.GOARCH) case "arm", "arm64":
t.Skipf("skipping on %s/%s, cannot fork", runtime.GOOS, runtime.GOARCH)
} }
} }