[libcxx] r294903 - test: mark requirement for pthread test

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 12 09:37:48 PST 2017


Author: compnerd
Date: Sun Feb 12 11:37:48 2017
New Revision: 294903

URL: http://llvm.org/viewvc/llvm-project?rev=294903&view=rev
Log:
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.

Modified:
    libcxx/trunk/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp

Modified: libcxx/trunk/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp?rev=294903&r1=294902&r2=294903&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp Sun Feb 12 11:37:48 2017
@@ -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.




More information about the cfe-commits mailing list