1
0
mirror of https://github.com/golang/go synced 2024-10-02 16:38:33 -06:00

cmd/addr2line: skip fork test on darwin/arm64

Just like darwin/arm.

Change-Id: Ia84662f58f6b1bb168cce8a9837945b1cbd175e1
Reviewed-on: https://go-review.googlesource.com/8828
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
David Crawshaw 2015-04-11 19:43:27 -04:00
parent 2f14b16149
commit 922a412822

View File

@ -96,8 +96,9 @@ func TestAddr2Line(t *testing.T) {
case "nacl", "android":
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)
}
}