]> Cypherpunks repositories - gostls13.git/commitdiff
sync/atomic: reenable TestNilDeref everywhere
authorRuss Cox <rsc@golang.org>
Thu, 30 Jul 2015 16:37:05 +0000 (12:37 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 30 Jul 2015 16:38:29 +0000 (16:38 +0000)
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 <rsc@golang.org>
src/sync/atomic/atomic_test.go

index d340ef5deeed6e1d0604555fe660d8aedeb94074..e2c63b95e8b5e62c9d3d1ea82e18f992e316aad5 100644 (file)
@@ -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) },