[libcxx-commits] [PATCH] D155755: [libc++] Fix tests for the runtime assertions in <barrier>

David Spickett via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 20 01:15:13 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd16115ddfcc4: [libc++] Fix tests for the runtime assertions in <barrier> (authored by Edoardo Sanguineti <edoardo.sanguineti222 at gmail.com>, committed by DavidSpickett).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155755/new/

https://reviews.llvm.org/D155755

Files:
  libcxx/test/libcxx/thread/thread.barrier/assert.arrive.pass.cpp
  libcxx/test/libcxx/thread/thread.barrier/assert.ctor.pass.cpp


Index: libcxx/test/libcxx/thread/thread.barrier/assert.ctor.pass.cpp
===================================================================
--- libcxx/test/libcxx/thread/thread.barrier/assert.ctor.pass.cpp
+++ libcxx/test/libcxx/thread/thread.barrier/assert.ctor.pass.cpp
@@ -7,12 +7,11 @@
 //===----------------------------------------------------------------------===//
 // UNSUPPORTED: no-threads
 // UNSUPPORTED: c++03, c++11, c++14, c++17
+// UNSUPPORTED: !libcpp-has-hardened-mode && !libcpp-has-debug-mode
 
-// REQUIRES: availability-synchronization_library-missing
-// XFAIL: target={{.+}}-apple-macosx10.{{13|15}}
+// XFAIL: availability-verbose_abort-missing
 
 // REQUIRES: has-unix-headers
-// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_ASSERTIONS=1
 
 // <barrier>
 
Index: libcxx/test/libcxx/thread/thread.barrier/assert.arrive.pass.cpp
===================================================================
--- libcxx/test/libcxx/thread/thread.barrier/assert.arrive.pass.cpp
+++ libcxx/test/libcxx/thread/thread.barrier/assert.arrive.pass.cpp
@@ -7,12 +7,11 @@
 //===----------------------------------------------------------------------===//
 // UNSUPPORTED: no-threads
 // UNSUPPORTED: c++03, c++11, c++14, c++17
+// UNSUPPORTED: !libcpp-has-hardened-mode && !libcpp-has-debug-mode
 
-// REQUIRES: availability-synchronization_library-missing
-// XFAIL: target={{.+}}-apple-macosx10.{{13|15}}
+// XFAIL: availability-verbose_abort-missing
 
 // REQUIRES: has-unix-headers
-// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_ASSERTIONS=1
 
 // <barrier>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155755.542359.patch
Type: text/x-patch
Size: 1562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230720/208180b6/attachment.bin>


More information about the libcxx-commits mailing list