Commit 14e50d35 by Ian Lance Taylor

sync/atomic: Disable tests which can't run based on pointer size.

From-SVN: r184136
parent 56c534c5
...@@ -636,6 +636,7 @@ func init() { ...@@ -636,6 +636,7 @@ func init() {
// 64-bit system; clear uintptr tests // 64-bit system; clear uintptr tests
hammer32[2].f = nil hammer32[2].f = nil
hammer32[5].f = nil hammer32[5].f = nil
hammer32[6].f = nil
} }
} }
...@@ -760,6 +761,7 @@ func init() { ...@@ -760,6 +761,7 @@ func init() {
// 32-bit system; clear uintptr tests // 32-bit system; clear uintptr tests
hammer64[2].f = nil hammer64[2].f = nil
hammer64[5].f = nil hammer64[5].f = nil
hammer64[6].f = nil
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment