Just like darwin/arm.
Change-Id: Ie4998d24b2d891a9f6c8047ec40cd3fdf80622cd
Reviewed-on: https://go-review.googlesource.com/8812
Reviewed-by: Minux Ma <minux@golang.org>
case "plan9", "windows":
t.Skipf("no pthreads on %s", runtime.GOOS)
case "darwin":
- if runtime.GOARCH != "arm" {
+ if runtime.GOARCH != "arm" && runtime.GOARCH != "arm64" {
// static constructor needs external linking, but we don't support
// external linking on OS X 10.6.
out, err := exec.Command("uname", "-r").Output()
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)
}
}
case "android", "nacl":
t.Skipf("skipping on %s", GOOS)
case "darwin":
- if GOARCH == "arm" {
- t.Skipf("skipping on %s/%s", GOOS, GOARCH)
+ switch GOARCH {
+ case "arm", "arm64":
+ t.Skipf("skipping on %s/%s, no fork", GOOS, GOARCH)
}
}