[libcxx-commits] [PATCH] D114242: [libc++] Fix some tests that were broken in the single-threaded configuration

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 19 06:51:32 PST 2021


ldionne created this revision.
Herald added a subscriber: arichardson.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114242

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114242.388491.patch
Type: text/x-patch
Size: 9730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211119/984e6f2a/attachment-0001.bin>


More information about the libcxx-commits mailing list