Skip to content

Commit

Permalink
cmd/objdump: skip fork test on darwin/arm64
Browse files Browse the repository at this point in the history
Just like darwin/arm.

Change-Id: Ibaba67980db6e05aa71568199b2dac2fcaa86fd6
Reviewed-on: https://go-review.googlesource.com/8824
Reviewed-by: Minux Ma <[email protected]>
  • Loading branch information
crawshaw committed Apr 13, 2015
1 parent d5bb438 commit 4c1ee3e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cmd/objdump/objdump_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 4c1ee3e

Please sign in to comment.