aboutsummaryrefslogtreecommitdiff
path: root/src/sync
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2015-04-11 18:57:18 -0400
committerDavid Crawshaw <crawshaw@golang.org>2015-04-12 02:47:43 +0000
commit2e61315254c0649d035d66fef8eab3b7c8504713 (patch)
treed66cd146457390714eec12f4898a686b5490e9e3 /src/sync
parent684473d19bdbf71bdc619448667588fe27d1933a (diff)
downloadgo-2e61315254c0649d035d66fef8eab3b7c8504713.tar.xz
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 <minux@golang.org>
Diffstat (limited to 'src/sync')
-rw-r--r--src/sync/atomic/atomic_test.go3
1 files changed, 2 insertions, 1 deletions
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)
}
}