]> Cypherpunks repositories - gostls13.git/commit
sync/atomic: don't run 64-bit uintptr tests on 32-bit systems
authorIan Lance Taylor <iant@golang.org>
Fri, 6 May 2022 00:04:52 +0000 (17:04 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 6 May 2022 02:40:50 +0000 (02:40 +0000)
commit7dd988456247c66f2ae62a82e8d8fa0d843710d1
tree1712df9f6dc9837d3cc28241b86628b16ac93710
parentf99511d59ba6c363d5dea1e015753a17c05c5c01
sync/atomic: don't run 64-bit uintptr tests on 32-bit systems

The tests don't work on big-endian systems. This change handles more
of the tests added in CL 381317 like the other existing tests.

Fixes #52723

Change-Id: Ie9e048e75dbe0b5aca61b51cd0c50d7d878ff6d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/404495
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/sync/atomic/atomic_test.go