You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.req.../thread.sharedtimedmutex.class
Asiri Rathnayake a3eac518e6 [libcxx] Improve tests to use the UNSUPPORTED lit directive
Quite a few libcxx tests seem to follow the format:
 #if _LIBCPP_STD_VER > X
   // Do test.
 #else
   // Empty test.
 #endif
We should instead use the UNSUPPORTED lit directive to exclude the test on
earlier C++ standards. This gives us a more accurate number of test passes
for those standards and avoids unnecessary conflicts with other lit
directives on the same tests.

Reviewers: bcraig, ericwf, mclow.lists

Differential revision: http://reviews.llvm.org/D20730

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271108 91177308-0d34-0410-b5e6-96231b3b80d8
10 years ago
..
assign.fail.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 10 years ago
copy.fail.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 10 years ago
default.pass.cpp Change #ifdefs in test to UNSUPPORTED. No functionality change in the tests 11 years ago
lock.pass.cpp Refactor and fix more flaky shared_mutex tests 10 years ago
lock_shared.pass.cpp Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances 10 years ago
try_lock.pass.cpp Change #ifdefs in test to UNSUPPORTED. No functionality change in the tests 11 years ago
try_lock_for.pass.cpp Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances 10 years ago
try_lock_shared.pass.cpp Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances 10 years ago
try_lock_shared_for.pass.cpp Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances 10 years ago
try_lock_shared_until.pass.cpp Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances 10 years ago
try_lock_until.pass.cpp Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances 10 years ago
try_lock_until_deadlock_bug.pass.cpp [libcxx] Fix bug in shared_timed_mutex that could cause a program to hang. 11 years ago