1
0
mirror of https://github.com/golang/go synced 2024-11-23 18:20:04 -07:00

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 <rsc@golang.org>
This commit is contained in:
Russ Cox 2015-07-30 12:37:05 -04:00
parent b2dfacf35e
commit 0bd8de1048

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