mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
c0d48836ec
commit
d6d423b99b
3 changed files with 7 additions and 5 deletions
|
|
@ -57,7 +57,7 @@ func TestCgoExternalThreadSIGPROF(t *testing.T) {
|
||||||
case "plan9", "windows":
|
case "plan9", "windows":
|
||||||
t.Skipf("no pthreads on %s", runtime.GOOS)
|
t.Skipf("no pthreads on %s", runtime.GOOS)
|
||||||
case "darwin":
|
case "darwin":
|
||||||
if runtime.GOARCH != "arm" {
|
if runtime.GOARCH != "arm" && runtime.GOARCH != "arm64" {
|
||||||
// static constructor needs external linking, but we don't support
|
// static constructor needs external linking, but we don't support
|
||||||
// external linking on OS X 10.6.
|
// external linking on OS X 10.6.
|
||||||
out, err := exec.Command("uname", "-r").Output()
|
out, err := exec.Command("uname", "-r").Output()
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,9 @@ func executeTest(t *testing.T, templ string, data interface{}, extra ...string)
|
||||||
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, no fork", runtime.GOOS, runtime.GOARCH)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,8 +99,9 @@ func TestRuntimeGogoBytes(t *testing.T) {
|
||||||
case "android", "nacl":
|
case "android", "nacl":
|
||||||
t.Skipf("skipping on %s", GOOS)
|
t.Skipf("skipping on %s", GOOS)
|
||||||
case "darwin":
|
case "darwin":
|
||||||
if GOARCH == "arm" {
|
switch GOARCH {
|
||||||
t.Skipf("skipping on %s/%s", GOOS, GOARCH)
|
case "arm", "arm64":
|
||||||
|
t.Skipf("skipping on %s/%s, no fork", GOOS, GOARCH)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue