summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-02-12 17:37:48 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-02-12 17:37:48 +0000
commit633c3b0756fdaeca6d9a2d532628419e718f260a (patch)
treeae49d12680e57bc0fe8095b97c51db02dcaf86ad /libcxx/test/std/thread
parent2fe5658d9a6e197c49962c519e1e448c75ee81b6 (diff)
downloadbcm5719-llvm-633c3b0756fdaeca6d9a2d532628419e718f260a.tar.gz
bcm5719-llvm-633c3b0756fdaeca6d9a2d532628419e718f260a.zip
test: mark requirement for pthread test
This test explicitly is checking the behaviour of std::thread and pthread interactions. This requires pthreads. Add an appropriate requirement. llvm-svn: 294903
Diffstat (limited to 'libcxx/test/std/thread')
-rw-r--r--libcxx/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp b/libcxx/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
index d60e4291886..de225fe7838 100644
--- a/libcxx/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
+++ b/libcxx/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-has-no-threads
+// REQUIRES: libcpp-has-thread-api-pthread
// notify_all_at_thread_exit(...) requires move semantics to transfer the
// unique_lock.
OpenPOWER on IntegriCloud