Stephan T. Lavavej
12195f1f03
[libcxx] [test] Strip trailing whitespace. NFC, no code review.
...
llvm-svn: 291322
2017-01-07 01:12:15 +00:00
Marshall Clow
dbf7ca9ce6
Implement P0505: 'Wording for GB 50'
...
llvm-svn: 291028
2017-01-04 23:03:24 +00:00
Marshall Clow
1c7fe126ee
Fixes for LWG 2598, 2686, 2739, 2742, 2747, and 2759, which were adopted last week in Issaquah
...
llvm-svn: 286858
2016-11-14 18:22:19 +00:00
Stephan T. Lavavej
0f901c7ec4
[libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.
...
This replaces every occurrence of _LIBCPP_STD_VER in the tests with
TEST_STD_VER. Additionally, for every affected
file, #include "test_macros.h" is being added explicitly if it wasn't
already there.
https://reviews.llvm.org/D26294
llvm-svn: 286007
2016-11-04 20:26:59 +00:00
Eric Fiselier
6b42540756
Remove usages of _LIBCPP_CONSTEXPR under test/std
...
llvm-svn: 284002
2016-10-12 10:28:09 +00:00
Eric Fiselier
03f46fc2ed
Prevent failures by marking Clock::is_steady tests as UNSUPPORTED: asan.
...
llvm-svn: 275753
2016-07-18 02:29:33 +00:00
Eric Fiselier
56f23a3f7f
Move remaining _LIBCPP_VERSION tests into test/libcxx
...
llvm-svn: 273367
2016-06-22 02:23:22 +00:00
Eric Fiselier
1317a251c5
Fix bad test that was previously getting ifdef-ed away
...
llvm-svn: 272722
2016-06-14 21:50:30 +00:00
Eric Fiselier
f2f2a6395f
Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.
...
This is a huge cleanup that helps make the libc++ test suite more portable.
Patch from STL@microsoft.com . Thanks STL!
llvm-svn: 272716
2016-06-14 21:31:42 +00:00
Eric Fiselier
3245e1f34b
Fix warnings in tests.
...
llvm-svn: 272629
2016-06-14 03:21:49 +00:00
Asiri Rathnayake
981986cdfc
[libcxx] Fix c++98 test failures.
...
Adds XFAIL/UNSUPPORTED lit tags as appropriate. Gets a clean test run
for -std=c++98 on Fedora 20.
NFC.
llvm-svn: 271741
2016-06-03 21:40:03 +00:00
Eric Fiselier
d04c685168
Remove trailing whitespace in test suite. Approved by Marshall Clow.
...
llvm-svn: 271435
2016-06-01 21:35:39 +00:00
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
Eric Fiselier
fb42f4c44a
Void cast runtime-unused variables. Patch from STL@microsoft.com
...
llvm-svn: 268284
2016-05-02 19:15:48 +00:00
Marshall Clow
b8427293df
Last bit of P0006; mark it as complete
...
llvm-svn: 254290
2015-11-30 05:39:30 +00:00
Marshall Clow
2cd0d6d625
Implement P0092R1 for C++1z
...
llvm-svn: 252195
2015-11-05 19:33:59 +00:00
Eric Fiselier
b76b5b255d
Move test/std/utilities/date.time to proper stable name utilities/time/date.time
...
llvm-svn: 245877
2015-08-24 21:27:25 +00:00
Eric Fiselier
c281a7a19f
Get tests running with warnings. Fix warnings in headers and tests
...
llvm-svn: 228344
2015-02-05 20:28:37 +00:00
Jonathan Roelofs
eb7b5e74d4
Rename system_lib -> system_cxx_lib. NFC
...
llvm-svn: 226061
2015-01-14 23:38:12 +00:00
Eric Fiselier
5a83710e37
Move test into test/std subdirectory.
...
llvm-svn: 224658
2014-12-20 01:40:03 +00:00