llvm-project/libcxx/test/std/experimental/optional/optional.object/optional.object.observe
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
..
bool.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
dereference.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
dereference_const.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
op_arrow.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
op_arrow_const.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
value.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
value_const.fail.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
value_const.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
value_or.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
value_or_const.pass.cpp [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00