Commit 9b8ad3fd authored by David Crawshaw's avatar David Crawshaw

sync/atomic: skip test on darwin/arm

Updates #7338.

Change-Id: I859a73543352dbdd13ec05efb23a95aecbcc628a
Reviewed-on: https://go-review.googlesource.com/7164Reviewed-by: 's avatarHyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 9f9d66d3
......@@ -1403,8 +1403,11 @@ func TestUnaligned64(t *testing.T) {
}
func TestNilDeref(t *testing.T) {
if p := runtime.GOOS + "/" + runtime.GOARCH; p == "freebsd/arm" || p == "netbsd/arm" {
t.Skipf("issue 7338: skipping test on %q", p)
switch runtime.GOOS {
case "darwin", "freebsd", "netbsd":
if runtime.GOARCH == "arm" {
t.Skipf("issue 7338: skipping test on %s/%s", runtime.GOOS, runtime.GOARCH)
}
}
funcs := [...]func(){
func() { CompareAndSwapInt32(nil, 0, 0) },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment