583f2e7093Rename src_root -> libcxx_src_root. NFC
Jonathan Roelofs
2015-01-15 00:03:14 +00:00
33459617e7Rename system_lib -> system_cxx_lib. NFC
Jonathan Roelofs
2015-01-14 23:38:12 +00:00
fcd02b85a5Rename library_root to libcxx_library_root. NFC
Jonathan Roelofs
2015-01-14 21:56:50 +00:00
fa08adae13Refactor configure_compile_flags. NFC
Jonathan Roelofs
2015-01-14 21:02:14 +00:00
7819fd7108Support picking the unwinder used for testing on linux (just as libc++abi testing allows)
Jonathan Roelofs
2015-01-14 19:29:04 +00:00
6f599cea0eFix a lit configuration diagnostic. NFC
Jonathan Roelofs
2015-01-14 14:48:27 +00:00
f1b1b7f8feRefactor the lit config's linker flag discovery code. NFC
Jonathan Roelofs
2015-01-14 01:29:04 +00:00
083e011d6cMake regex::assign not clobber the regex in case of failure. Fixes PR#22213
Marshall Clow
2015-01-13 16:49:52 +00:00
fe079256b2Fix vexing parse in test.
Eric Fiselier
2015-01-12 15:56:41 +00:00
141dd0c245One more #include request in the test suite from Walter Brown
Marshall Clow
2015-01-11 18:07:06 +00:00
e42202138cChange a couple more template parameter names from 'T' to '_Tp', etc. Thanks to Ondřej Majerech for the patch, but I did a bit more.
Marshall Clow
2015-01-11 06:15:59 +00:00
13e2966c91Support Newlib as libc++'s C library [cstdio part, part 2]
Jonathan Roelofs
2015-01-10 00:08:00 +00:00
6b913d7c52Walter Brown sent a list of tests which needed 'additional includes' to match what was in the standard. Added these includes to the tests. No changes to the library or test results.
Marshall Clow
2015-01-09 20:25:52 +00:00
aa66357f48[libc++] Refactor test components into modules.
Dan Albert
2015-01-09 18:03:29 +00:00
6027993c28K-Ballo found a place where we were using 'V' as a template parameter. Replace with '_Vp' for protection against user-defined macros.
Marshall Clow
2015-01-09 17:03:36 +00:00
a09f3444e6In early C++11 standard drafts, std::function derived from std::unary_function or std::binary_function if there was only one (or two) parameters. Before C++11 shipped, this restiction was lifted, but libc++ still does this (which is fine). However, the tests still check for this outdated requiremnt. Change then to check for the nested typedefs instead (which are still required by the standard). No change to the library.
Marshall Clow
2015-01-08 06:36:41 +00:00
1fdd937c0aAdd checks to make sure the hash functor has the right typedefs
Marshall Clow
2015-01-08 06:18:59 +00:00
c7e395f338Missed a typename
Marshall Clow
2015-01-07 22:26:48 +00:00
674e07d3c8libc++ implements its' hash objects as deriving from std::unary_function, and the tests test for that. STL @ MS pointed out that the standard doesn't requie these objects to derive from unary_function, and so the tests should not require that either. Change the tests to check for the embedded typedefs - which ARE required. No change to the library.
Marshall Clow
2015-01-07 21:53:23 +00:00
87d03942c4In C++03, a bunch of the arithmetic/logical/comparison functors (such as negate/bit_not.pass/logical_not) were defined as deriving from unary_funtion. That restriction was removed in C++11, but the tests still check for this. Change the test to look for the embedded types first_argument/second_argument/result_type. No change to the library, just more standards-compliant tests. Thanks to STL @ Microsoft for the suggestion.
Marshall Clow
2015-01-07 21:51:30 +00:00
b15298338cAdd tests to check the typedefs from the result of std::owner_less
Marshall Clow
2015-01-07 20:54:51 +00:00
58d4e04168Missed one comparison test in r225375
Marshall Clow
2015-01-07 20:40:28 +00:00
27a1a2c84aIn C++03, a bunch of the arithmetic/logical/comparison functors (such as add/equal_to/logical_or) were defined as deriving from binary_funtion. That restriction was removed in C++11, but the tests still check for this. Change the test to look for the embedded types first_argument/second_argument/result_type. No change to the library, just more standards-compliant tests. Thanks to STL @ Microsoft for the suggestion.
Marshall Clow
2015-01-07 20:31:06 +00:00
0588c74a87Move a test to the new tests directory.
Dan Albert
2015-01-06 22:18:27 +00:00
21b03d7189Make a test UNSUPPORTED if libcpp-has-no-threads.
Dan Albert
2015-01-06 19:32:30 +00:00
8f1ac0fb3dAppease MSAN buildbots.
Dan Albert
2015-01-06 19:23:25 +00:00
fd8ed7fa85Fix PR 22106; make std::swap work for multi-dimensional arrays. Thanks to Peter Griess for the report and suggested fix
Marshall Clow
2015-01-06 19:20:49 +00:00
c101738156Obey [atomics.types.operations.req]/21 for GCC.
Dan Albert
2015-01-06 18:39:37 +00:00
656850f03e[libcxx] Set _LIBCPP_ELAST for mingw.
Dan Albert
2015-01-06 17:34:51 +00:00
7a033ca056[cmake/multilib] Teach libc++'s CMake build to support multilib libdir suffixes like 'lib64' or 'lib32'.
Chandler Carruth
2014-12-29 12:15:47 +00:00
60b3df404ePrevent ill-formed instantiation of __invoke_of<...> during the evaluation of a bind expression. Fixes PR22003.
Eric Fiselier
2014-12-23 05:54:34 +00:00
e26488fd83Remove non-const test to get test passing. Will come back later and (correctly) add non-const tests
Marshall Clow
2014-12-23 01:30:39 +00:00
4eb5b6d5ee[libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers.
Eric Fiselier
2014-12-22 22:38:59 +00:00
71dc14e864[libcxx] Add numerous options to libc++ LIT test suite configuration.
Eric Fiselier
2014-12-22 20:49:45 +00:00
0b16e8e05aFix PR22000. __bit_iterator::move_backwards. Also make a note that __bit_iterator is quite underrepresented in the libc++ tests suite.
Marshall Clow
2014-12-22 19:10:11 +00:00
814b625303Move unconditional test compile and link flags into their configuration functions.
Eric Fiselier
2014-12-20 04:14:14 +00:00
4778eed34f[libcxx] Teach libcxx's lit configuration new ways to find lit.site.cfg
Eric Fiselier
2014-12-20 03:16:55 +00:00
a90c6dd460Move test into test/std subdirectory.
Eric Fiselier
2014-12-20 01:40:03 +00:00
669a8a5a19[libcxx] Add <experimental/type_traits> for LFTS
Eric Fiselier
2014-12-19 22:21:44 +00:00
bd8adae47fRemove unneeded configuration code.
Eric Fiselier
2014-12-19 21:42:17 +00:00
b8e76804f1[libcxx] Allow the use of ccache when running the test suite.
Eric Fiselier
2014-12-19 19:27:32 +00:00
4975bad299Re-commit the test for regex that I busted last night - now passes under ASAN
Marshall Clow
2014-12-16 16:22:43 +00:00
7797c867d3Appease the c++14 buildbots
Jonathan Roelofs
2014-12-16 01:18:11 +00:00
a1a4db3fe5Comment out the breaking tests until I figure out what's going on here.
Marshall Clow
2014-12-16 00:59:59 +00:00
a2ef609ff1Fix installheaders target's permissions
Jonathan Roelofs
2014-12-16 00:48:13 +00:00
e51267e2d1Once more w/o the typo.
Marshall Clow
2014-12-16 00:46:23 +00:00
cde7ca0a97Fix the literal string that I said would be six elements long to actually be six elements long. Octal. Sheesh.
Marshall Clow
2014-12-16 00:45:47 +00:00
ab3c50593cAdd test to ensure that iterator_traits<NotAnIterator> doesn't have a value type
Marshall Clow
2014-12-16 00:30:07 +00:00
9acbcee2c6Add option to turn off installation of headers.
Eric Fiselier
2014-12-12 22:52:58 +00:00
984f8f6e43Include newlib-specific locales in __locale
Sergey Dmitrouk
2014-12-12 08:36:16 +00:00
ae9fec0bdfAdd support for building libc++ as a 32 bit library
Eric Fiselier
2014-12-12 03:12:18 +00:00
01f6a1410cFix building and running tests when LIBCXX_ENABLE_EXCEPTIONS or LIBCXX_ENABLE_RTTI are turned off.
Eric Fiselier
2014-12-12 02:36:23 +00:00
08e3a7887fAdd 'REQUIRES: long_tests' to one more long test
Jonathan Roelofs
2014-12-11 22:27:49 +00:00
5030eaf65dAdd 'REQUIERS: long_tests' to a few more long tests
Jonathan Roelofs
2014-12-11 22:05:18 +00:00
2f2daa1436Fix platform_support.h's get_temp_file_name() on Newlib under __STRICT_ANSI__
Jonathan Roelofs
2014-12-11 20:56:40 +00:00
cddec8a9ddAdd an XFAIL for Newlib's missing uchar.h
Jonathan Roelofs
2014-12-11 19:11:39 +00:00
d9144e8d17Mark a bunch of long running tests as 'REQUIRES: long_tests'
Jonathan Roelofs
2014-12-11 18:35:36 +00:00
952438bf70Mark some more fenv tests as UNSUPPORTED by newlib
Jonathan Roelofs
2014-12-11 16:17:26 +00:00
f2bd5a0fe1Add an XFAIL for Newlib's missing fenv.h
Jonathan Roelofs
2014-12-11 15:37:22 +00:00
453a50040bUpdate information on where to find buildbots. Remove dead buildbot links.
Eric Fiselier
2014-12-09 22:53:21 +00:00
8283709e91Move the optional tests into test/experimental. They were put into test/utilities because optional was going to be part of C++14, and then was pulled and put into the Library Fundamentals TS instead. No funcitonality change here; just moving files around.
Marshall Clow
2014-12-09 15:07:42 +00:00
4ad67e08cbAdd all the relational operators to std::experimental::optional. Also update bad_optional_access to match the Library Fundamentals draft standard. This is not all of the upcoming changes to optional, though.
Marshall Clow
2014-12-09 14:49:17 +00:00
fff544efbdExplicitly include <sched.h> for sched_yield()
Sergey Dmitrouk
2014-12-08 14:50:21 +00:00
2764d046a1Give lit.cfg's threading options default values when not defined.
Eric Fiselier
2014-12-07 08:52:19 +00:00
427f1a3014Mark a couple of tests as XFAIL with older compilers.
Eric Fiselier
2014-12-07 05:31:17 +00:00
cd83c78703Consolidate error reporting in lit.cfg
Eric Fiselier
2014-12-07 04:28:50 +00:00
2050be27a4Revert parts of r223594. Use DYLD_LIBRARY_PATH on OSX when running tests.
Eric Fiselier
2014-12-07 00:34:23 +00:00
74e7af0d75Fix apple clang detection in lit.cfg
Eric Fiselier
2014-12-06 22:49:38 +00:00
83313c7ee8Unify and cleanup rpath handling in tests.
Eric Fiselier
2014-12-06 22:08:51 +00:00
c934ca7237[libcxx] Add logic to probe compiler in tests.
Eric Fiselier
2014-12-06 21:13:15 +00:00
7330ed3228Add support for building and testing libc++ without threads to CMake.
Eric Fiselier
2014-12-06 21:02:58 +00:00
a245f9b263Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperly
Eric Fiselier
2014-12-06 20:09:11 +00:00
93cfd7fc4elibc++: support NaCl when building thread.cpp
JF Bastien
2014-12-02 17:30:19 +00:00
2bd5ffd330libc++: add NaCl and PNaCl support for std::random_device
JF Bastien
2014-12-01 19:19:55 +00:00
6317e9b85alibc++: integral types trap on PNaCl
JF Bastien
2014-11-26 17:51:58 +00:00
6cb69ffa0aFixes to get libc++ building on sun solaris. Patch from C Bergstrom.
Eric Fiselier
2014-11-25 21:57:41 +00:00
bd0000808dUse lit.util.executeCommand instead of our own version
Eric Fiselier
2014-11-25 03:03:32 +00:00
e6e69df598Print lit configuration information after all configuration is done.
Eric Fiselier
2014-11-24 23:46:42 +00:00
877409a1c7Add better support for custom test runners.
Dan Albert
2014-11-24 22:24:06 +00:00
1567ac850cHandle extra whitespace in linux distribution name.
Eric Fiselier
2014-11-21 08:54:35 +00:00
aeff14fc74Mark some locale tests as XFAIL on debian and opensuse.
Eric Fiselier
2014-11-21 08:02:38 +00:00
5980ce383fAdd more REQUIRES: LOCALE.* to tests.
Dan Albert
2014-11-21 01:23:04 +00:00
2c7a32ff0fRemove xfail tag for darwin from quick_exit test
Eric Fiselier
2014-11-20 03:40:32 +00:00
c5e361d024Remove tests that va_copy is not defined when C++ < 11.
Eric Fiselier
2014-11-20 03:39:25 +00:00
19fdbe53b7Change contradictory wording in va_copy test error message.
Eric Fiselier
2014-11-19 20:01:26 +00:00
ab5bd89de1Added entries for bugs 2118 and 2306, which were closed in Urbana
Marshall Clow
2014-11-19 15:59:16 +00:00
c2f0e465caOverhaul and separate nullptr_t tests to pass with C++03.
Eric Fiselier
2014-11-19 05:49:03 +00:00
33c5db58e7Revert r222296 to fix bad commit message
Eric Fiselier
2014-11-19 05:41:29 +00:00
221907d782Cleanup quick_exit tests and get them passing in C++03.
Eric Fiselier
2014-11-19 01:45:12 +00:00
0bb95849ecdiff --git a/test/language.support/support.types/nullptr_t.pass.cpp b/test/language.support/support.types/nullptr_t.pass.cpp index 6c15fef..4d7c8b0 100644 --- a/test/language.support/support.types/nullptr_t.pass.cpp +++ b/test/language.support/support.types/nullptr_t.pass.cpp @@ -18,42 +18,62 @@ struct A A(std::nullptr_t) {} };
Eric Fiselier
2014-11-19 01:31:56 +00:00
1f8e21c6a3Modify tests to check that va_copy is only defined in C++11 and beyond.
Eric Fiselier
2014-11-18 23:46:18 +00:00
f2215ae626Flush out test cases for tuples constructor SFINAE
Eric Fiselier
2014-11-18 23:01:57 +00:00
af2976deb3Add support for LLVM_USE_SANITIZER=Thread
Eric Fiselier
2014-11-18 21:26:45 +00:00
b1d7c713b4Marked LWG 2399 as complete. I committed a test for this earlier today.
Marshall Clow
2014-11-18 20:37:47 +00:00
7683fe2b7aAdd a test for LWG issue #2399. We already implement this, but now we have a test as well.
Marshall Clow
2014-11-18 18:14:53 +00:00
9a4997ba29Update status of LWG issues 2340, 2396 and 2401. In all three cases, these are things that we already do.
Marshall Clow
2014-11-18 17:35:16 +00:00
e52b63237aSince Eric poisoned the comma operator on all our test iterators, we no longer need 'comma_iterator'. Remove it from the test suite.
Marshall Clow
2014-11-18 16:15:00 +00:00