llvm-project/libcxx/test/std/thread/futures/futures.promise
Asiri Rathnayake 6edc12c886 [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

llvm-svn: 271108
2016-05-28 08:57:35 +00:00
..
alloc_ctor.pass.cpp
copy_assign.fail.cpp Guard a number of tests relying on threads support when built in 2016-03-23 21:04:11 +00:00
copy_ctor.fail.cpp Guard a number of tests relying on threads support when built in 2016-03-23 21:04:11 +00:00
default.pass.cpp
dtor.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
get_future.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
move_assign.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
move_ctor.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
set_exception.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
set_exception_at_thread_exit.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
set_lvalue.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
set_lvalue_at_thread_exit.pass.cpp
set_rvalue.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
set_rvalue_at_thread_exit.pass.cpp
set_value_at_thread_exit_const.pass.cpp
set_value_at_thread_exit_void.pass.cpp
set_value_const.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
set_value_void.pass.cpp Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
swap.pass.cpp
uses_allocator.pass.cpp