From: Russ Cox Date: Thu, 30 Jul 2015 16:37:05 +0000 (-0400) Subject: sync/atomic: reenable TestNilDeref everywhere X-Git-Tag: go1.5rc1~83 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0bd8de10486ec14762e9531fd62e780c2ab5180c;p=gostls13.git sync/atomic: reenable TestNilDeref everywhere There is absolutely no information about how this was failing. If we reenable the test then at least we can get a build log from darwin/arm. There are not even freebsd/arm or netbsd/arm builders, so not too worried about those. (That is another problem.) Change-Id: I0e739a4dd2897adbe110aa400d720d8fa02ae65f Reviewed-on: https://go-review.googlesource.com/12920 Reviewed-by: Russ Cox --- diff --git a/src/sync/atomic/atomic_test.go b/src/sync/atomic/atomic_test.go index d340ef5dee..e2c63b95e8 100644 --- a/src/sync/atomic/atomic_test.go +++ b/src/sync/atomic/atomic_test.go @@ -1403,13 +1403,6 @@ func TestUnaligned64(t *testing.T) { } func TestNilDeref(t *testing.T) { - switch runtime.GOOS { - case "darwin", "freebsd", "netbsd": - switch runtime.GOARCH { - case "arm", "arm64": - t.Skipf("issue 7338: skipping test on %s/%s", runtime.GOOS, runtime.GOARCH) - } - } funcs := [...]func(){ func() { CompareAndSwapInt32(nil, 0, 0) }, func() { CompareAndSwapInt64(nil, 0, 0) },