[all-commits] [llvm/llvm-project] e1ce3d: [libc++] Fix some tests that were broken in the si...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Nov 19 11:24:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1ce3dabf0c70d30a24f0586ddf2a965d730d30a
      https://github.com/llvm/llvm-project/commit/e1ce3dabf0c70d30a24f0586ddf2a965d730d30a
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M libcxx/test/libcxx/thread/thread.mutex/version.pass.cpp
    M libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable.compile.pass.cpp
    M libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/equality_comparable_with.compile.pass.cpp
    M libcxx/test/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp
    M libcxx/test/std/concepts/concepts.object/movable.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/mutex.version.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/race.pass.cpp
    M libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/assign.compile.fail.cpp
    M libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.compile.fail.cpp
    M libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py
    M libcxx/utils/generate_header_inclusion_tests.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list