[libc++] Fix some tests that were broken in the single-threaded configuration
authorLouis Dionne <ldionne.2@gmail.com>
Fri, 19 Nov 2021 14:50:05 +0000 (09:50 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 19 Nov 2021 19:24:15 +0000 (14:24 -0500)
commite1ce3dabf0c70d30a24f0586ddf2a965d730d30a
tree0dbbe152e3c5dd7923b9241c1966c59c44c30a8a
parent1b4c0cb3918a9f2d12f8259407fc8bce053e78bf
[libc++] Fix some tests that were broken in the single-threaded configuration

We never noticed it because our CI doesn't actually build against a C
library that doesn't have threading functionality, however building
against a truly thread-free platform surfaces these issues.

Differential Revision: https://reviews.llvm.org/D114242
13 files changed:
libcxx/test/libcxx/thread/thread.mutex/version.pass.cpp
libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp
libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp
libcxx/test/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp
libcxx/test/std/concepts/concepts.object/movable.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp
libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/race.pass.cpp
libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/assign.compile.fail.cpp
libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.compile.fail.cpp
libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp
libcxx/utils/generate_feature_test_macro_components.py
libcxx/utils/generate_header_inclusion_tests.py