1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:34:40 -07:00

sync/atomic: skip test on darwin/arm

Updates #7338.

Change-Id: I859a73543352dbdd13ec05efb23a95aecbcc628a
Reviewed-on: https://go-review.googlesource.com/7164
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
David Crawshaw 2015-03-07 12:05:03 -05:00
parent 9f9d66d3b6
commit 9b8ad3fde2

View File

@ -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) },