aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2011-07-20 08:39:24 +1000
committerRob Pike <r@golang.org>2011-07-20 08:39:24 +1000
commit62f618a22cf5c607a90ccb95bf6ceed6ab866ffe (patch)
tree47d2f0e675c0c6bead7aef850ae794ab9d61121b
parent8930ce2dc1590c21d22a658723d05f08a8e4f6a7 (diff)
downloadgo-62f618a22cf5c607a90ccb95bf6ceed6ab866ffe.tar.gz
go-62f618a22cf5c607a90ccb95bf6ceed6ab866ffe.zip
sync/atomic: delete workaround
Load seems to work on arm now. R=dsymonds CC=golang-dev https://golang.org/cl/4795042
-rw-r--r--src/pkg/sync/atomic/atomic_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pkg/sync/atomic/atomic_test.go b/src/pkg/sync/atomic/atomic_test.go
index 08f70c5ebc..2229e58d0c 100644
--- a/src/pkg/sync/atomic/atomic_test.go
+++ b/src/pkg/sync/atomic/atomic_test.go
@@ -309,9 +309,6 @@ func TestCompareAndSwapUintptr(t *testing.T) {
}
func TestLoadInt32(t *testing.T) {
- if runtime.GOARCH == "arm" && testing.Short() {
- return /* TODO: broken on arm */
- }
var x struct {
before int32
i int32
@@ -332,9 +329,6 @@ func TestLoadInt32(t *testing.T) {
}
func TestLoadUint32(t *testing.T) {
- if runtime.GOARCH == "arm" && testing.Short() {
- return /* TODO: broken on arm */
- }
var x struct {
before uint32
i uint32
@@ -622,9 +616,6 @@ func hammerLoadUint32(t *testing.T, val *uint32) {
}
func TestHammerLoad(t *testing.T) {
- if runtime.GOARCH == "arm" && testing.Short() {
- return /* TODO: broken on arm */
- }
tests := [...]func(*testing.T, *uint32){hammerLoadInt32, hammerLoadUint32}
n := 100000
if testing.Short() {