From: David Crawshaw Date: Sat, 11 Apr 2015 22:57:18 +0000 (-0400) Subject: sync/atomic: skip issue 7338 test on darwin/arm64 X-Git-Tag: go1.5beta1~1174 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2e61315254c0649d035d66fef8eab3b7c8504713;p=gostls13.git sync/atomic: skip issue 7338 test on darwin/arm64 Similar to darwin/arm. This issue is quite worrying and I hope it can be addressed for Go 1.5. Change-Id: Ic095281d6a2e9a38a59973f58d464471db5a2edc Reviewed-on: https://go-review.googlesource.com/8811 Reviewed-by: Minux Ma --- diff --git a/src/sync/atomic/atomic_test.go b/src/sync/atomic/atomic_test.go index ca9ebcfe82..d340ef5dee 100644 --- a/src/sync/atomic/atomic_test.go +++ b/src/sync/atomic/atomic_test.go @@ -1405,7 +1405,8 @@ func TestUnaligned64(t *testing.T) { func TestNilDeref(t *testing.T) { switch runtime.GOOS { case "darwin", "freebsd", "netbsd": - if runtime.GOARCH == "arm" { + switch runtime.GOARCH { + case "arm", "arm64": t.Skipf("issue 7338: skipping test on %s/%s", runtime.GOOS, runtime.GOARCH) } }