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

cmd/objdump: skip fork test on darwin/arm64

Just like darwin/arm.

Change-Id: Ibaba67980db6e05aa71568199b2dac2fcaa86fd6
Reviewed-on: https://go-review.googlesource.com/8824
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
David Crawshaw 2015-04-11 19:37:29 -04:00
parent d5bb4380c8
commit 4c1ee3ea88

View File

@ -19,8 +19,9 @@ func buildObjdump(t *testing.T) (tmp, exe 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, cannot fork", runtime.GOOS, runtime.GOARCH)
}
}