[libc++] Fix tests for the runtime assertions in <barrier>
authorEdoardo Sanguineti <edoardo.sanguineti222@gmail.com>
Thu, 20 Jul 2023 08:14:07 +0000 (08:14 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Thu, 20 Jul 2023 08:15:02 +0000 (08:15 +0000)
commitd16115ddfcc4ec1c032ef6f879e864080a25f03e
tree8ba7d60cf882fa85b88f378f0a04e96388ef1330
parent0c41c59deebc25682f85175aa92e5fafa1c619ef
[libc++] Fix tests for the runtime assertions in <barrier>

As @ldionne pointed out to me in a newer revision, there is a //REQUIRE comment in both files edited by this patch that prevents the test to run on some platforms where it should actually run.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D155755
libcxx/test/libcxx/thread/thread.barrier/assert.arrive.pass.cpp
libcxx/test/libcxx/thread/thread.barrier/assert.ctor.pass.cpp