runtime: skip fork test on darwin/arm64

Just like darwin/arm.

Change-Id: Ie4998d24b2d891a9f6c8047ec40cd3fdf80622cd
Reviewed-on: https://go-review.googlesource.com/8812
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
David Crawshaw 2015-04-11 19:00:53 -04:00
parent c0d48836ec
commit d6d423b99b
3 changed files with 7 additions and 5 deletions

View file

@ -42,8 +42,9 @@ func executeTest(t *testing.T, templ string, data interface{}, extra ...string)
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, no fork", runtime.GOOS, runtime.GOARCH)
}
}