diff options
author | Elliott Hughes <enh@google.com> | 2020-02-13 09:48:14 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-02-13 09:48:14 -0800 |
commit | 6a65ccdf5213cf3b9e80eba11ef8a0f40240272b (patch) | |
tree | 1f667a8bdfb7d35fc014517e2724cb16486423d4 /tests/stdatomic_test.cpp | |
parent | 97d053283f4c100baed8677f7a7af98a976a2e2f (diff) |
Remove mips test workarounds.
The mips/mips64 targets were never able to pass these tests, and the
supported architectures don't need any of these workarounds.
Test: treehugger
Change-Id: I640a8b7a98ae13d9d9cdb09b0fbef61d31d4c79a
Diffstat (limited to 'tests/stdatomic_test.cpp')
-rw-r--r-- | tests/stdatomic_test.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/stdatomic_test.cpp b/tests/stdatomic_test.cpp index 9911d642e..8a6b267cc 100644 --- a/tests/stdatomic_test.cpp +++ b/tests/stdatomic_test.cpp @@ -69,12 +69,7 @@ TEST(stdatomic, atomic_is_lock_free) { atomic_char small; ASSERT_TRUE(atomic_is_lock_free(&small)); atomic_intmax_t big; - // atomic_intmax_t(size = 64) is not lock free on mips32. -#if defined(__mips__) && !defined(__LP64__) - ASSERT_FALSE(atomic_is_lock_free(&big)); -#else ASSERT_TRUE(atomic_is_lock_free(&big)); -#endif } TEST(stdatomic, atomic_flag) { |