[libc++][nfc] Add TEST_HAS_NO_THREADS.
authorMark de Wever <koraq@xs4all.nl>
Wed, 2 Feb 2022 18:28:06 +0000 (19:28 +0100)
committerMark de Wever <koraq@xs4all.nl>
Sat, 12 Feb 2022 18:24:06 +0000 (19:24 +0100)
commit84bb14599f14b590edb2c1e45b5548af3554e551
tree89b87af5afbde0ec16eac909fbf8319b2141053e
parent7af3d4ab3d5da07256e1a7a0438e7308e14b9fd5
[libc++][nfc] Add TEST_HAS_NO_THREADS.

This avoids using an libc++ internal macro in our tests.

Reviewed By: #libc, philnik, ldionne

Differential Revision: https://reviews.llvm.org/D119563
libcxx/test/std/atomics/atomics.types.generic/trivially_copyable.pass.cpp
libcxx/test/std/atomics/types.pass.cpp
libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp
libcxx/test/std/concepts/concepts.object/movable.compile.pass.cpp
libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/types.compile.pass.cpp
libcxx/test/support/test_macros.h