Commit Graph

  • 583f2e7093 Rename src_root -> libcxx_src_root. NFC Jonathan Roelofs 2015-01-15 00:03:14 +00:00
  • 33459617e7 Rename system_lib -> system_cxx_lib. NFC Jonathan Roelofs 2015-01-14 23:38:12 +00:00
  • fcd02b85a5 Rename library_root to libcxx_library_root. NFC Jonathan Roelofs 2015-01-14 21:56:50 +00:00
  • fa08adae13 Refactor configure_compile_flags. NFC Jonathan Roelofs 2015-01-14 21:02:14 +00:00
  • 7819fd7108 Support picking the unwinder used for testing on linux (just as libc++abi testing allows) Jonathan Roelofs 2015-01-14 19:29:04 +00:00
  • 6f599cea0e Fix a lit configuration diagnostic. NFC Jonathan Roelofs 2015-01-14 14:48:27 +00:00
  • f1b1b7f8fe Refactor the lit config's linker flag discovery code. NFC Jonathan Roelofs 2015-01-14 01:29:04 +00:00
  • 083e011d6c Make regex::assign not clobber the regex in case of failure. Fixes PR#22213 Marshall Clow 2015-01-13 16:49:52 +00:00
  • fe079256b2 Fix vexing parse in test. Eric Fiselier 2015-01-12 15:56:41 +00:00
  • 141dd0c245 One more #include request in the test suite from Walter Brown Marshall Clow 2015-01-11 18:07:06 +00:00
  • e42202138c Change 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
  • 13e2966c91 Support Newlib as libc++'s C library [cstdio part, part 2] Jonathan Roelofs 2015-01-10 00:08:00 +00:00
  • 6b913d7c52 Walter 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
  • 6027993c28 K-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
  • a09f3444e6 In 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
  • 1fdd937c0a Add checks to make sure the hash functor has the right typedefs Marshall Clow 2015-01-08 06:18:59 +00:00
  • c7e395f338 Missed a typename Marshall Clow 2015-01-07 22:26:48 +00:00
  • 674e07d3c8 libc++ 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
  • 87d03942c4 In 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
  • b15298338c Add tests to check the typedefs from the result of std::owner_less Marshall Clow 2015-01-07 20:54:51 +00:00
  • 58d4e04168 Missed one comparison test in r225375 Marshall Clow 2015-01-07 20:40:28 +00:00
  • 27a1a2c84a In 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
  • 0588c74a87 Move a test to the new tests directory. Dan Albert 2015-01-06 22:18:27 +00:00
  • 21b03d7189 Make a test UNSUPPORTED if libcpp-has-no-threads. Dan Albert 2015-01-06 19:32:30 +00:00
  • 8f1ac0fb3d Appease MSAN buildbots. Dan Albert 2015-01-06 19:23:25 +00:00
  • fd8ed7fa85 Fix 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
  • c101738156 Obey [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
  • 60b3df404e Prevent 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
  • e26488fd83 Remove 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
  • 0b16e8e05a Fix 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
  • 814b625303 Move 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
  • a90c6dd460 Move 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
  • bd8adae47f Remove 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
  • 4975bad299 Re-commit the test for regex that I busted last night - now passes under ASAN Marshall Clow 2014-12-16 16:22:43 +00:00
  • 6cf4f15970 Revert "Fix installheaders target's permissions" Justin Bogner 2014-12-16 05:28:07 +00:00
  • 7797c867d3 Appease the c++14 buildbots Jonathan Roelofs 2014-12-16 01:18:11 +00:00
  • a1a4db3fe5 Comment out the breaking tests until I figure out what's going on here. Marshall Clow 2014-12-16 00:59:59 +00:00
  • a2ef609ff1 Fix installheaders target's permissions Jonathan Roelofs 2014-12-16 00:48:13 +00:00
  • e51267e2d1 Once more w/o the typo. Marshall Clow 2014-12-16 00:46:23 +00:00
  • cde7ca0a97 Fix 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
  • ab3c50593c Add test to ensure that iterator_traits<NotAnIterator> doesn't have a value type Marshall Clow 2014-12-16 00:30:07 +00:00
  • e3e7054f48 Implement LWG 2217 - operator==(sub_match, string) slices on embedded '\0's Marshall Clow 2014-12-15 23:57:56 +00:00
  • 9acbcee2c6 Add option to turn off installation of headers. Eric Fiselier 2014-12-12 22:52:58 +00:00
  • 984f8f6e43 Include newlib-specific locales in __locale Sergey Dmitrouk 2014-12-12 08:36:16 +00:00
  • ae9fec0bdf Add support for building libc++ as a 32 bit library Eric Fiselier 2014-12-12 03:12:18 +00:00
  • 01f6a1410c Fix 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
  • 08e3a7887f Add 'REQUIRES: long_tests' to one more long test Jonathan Roelofs 2014-12-11 22:27:49 +00:00
  • 5030eaf65d Add 'REQUIERS: long_tests' to a few more long tests Jonathan Roelofs 2014-12-11 22:05:18 +00:00
  • 2f2daa1436 Fix platform_support.h's get_temp_file_name() on Newlib under __STRICT_ANSI__ Jonathan Roelofs 2014-12-11 20:56:40 +00:00
  • cddec8a9dd Add an XFAIL for Newlib's missing uchar.h Jonathan Roelofs 2014-12-11 19:11:39 +00:00
  • d9144e8d17 Mark a bunch of long running tests as 'REQUIRES: long_tests' Jonathan Roelofs 2014-12-11 18:35:36 +00:00
  • 952438bf70 Mark some more fenv tests as UNSUPPORTED by newlib Jonathan Roelofs 2014-12-11 16:17:26 +00:00
  • f2bd5a0fe1 Add an XFAIL for Newlib's missing fenv.h Jonathan Roelofs 2014-12-11 15:37:22 +00:00
  • 453a50040b Update information on where to find buildbots. Remove dead buildbot links. Eric Fiselier 2014-12-09 22:53:21 +00:00
  • 8283709e91 Move 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
  • 4ad67e08cb Add 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
  • fff544efbd Explicitly include <sched.h> for sched_yield() Sergey Dmitrouk 2014-12-08 14:50:21 +00:00
  • 2764d046a1 Give lit.cfg's threading options default values when not defined. Eric Fiselier 2014-12-07 08:52:19 +00:00
  • 427f1a3014 Mark a couple of tests as XFAIL with older compilers. Eric Fiselier 2014-12-07 05:31:17 +00:00
  • cd83c78703 Consolidate error reporting in lit.cfg Eric Fiselier 2014-12-07 04:28:50 +00:00
  • 2050be27a4 Revert parts of r223594. Use DYLD_LIBRARY_PATH on OSX when running tests. Eric Fiselier 2014-12-07 00:34:23 +00:00
  • 74e7af0d75 Fix apple clang detection in lit.cfg Eric Fiselier 2014-12-06 22:49:38 +00:00
  • 83313c7ee8 Unify 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
  • 7330ed3228 Add support for building and testing libc++ without threads to CMake. Eric Fiselier 2014-12-06 21:02:58 +00:00
  • a245f9b263 Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperly Eric Fiselier 2014-12-06 20:09:11 +00:00
  • 93cfd7fc4e libc++: support NaCl when building thread.cpp JF Bastien 2014-12-02 17:30:19 +00:00
  • 2bd5ffd330 libc++: add NaCl and PNaCl support for std::random_device JF Bastien 2014-12-01 19:19:55 +00:00
  • 6317e9b85a libc++: integral types trap on PNaCl JF Bastien 2014-11-26 17:51:58 +00:00
  • 6cb69ffa0a Fixes to get libc++ building on sun solaris. Patch from C Bergstrom. Eric Fiselier 2014-11-25 21:57:41 +00:00
  • bd0000808d Use lit.util.executeCommand instead of our own version Eric Fiselier 2014-11-25 03:03:32 +00:00
  • e6e69df598 Print lit configuration information after all configuration is done. Eric Fiselier 2014-11-24 23:46:42 +00:00
  • 877409a1c7 Add better support for custom test runners. Dan Albert 2014-11-24 22:24:06 +00:00
  • 1567ac850c Handle extra whitespace in linux distribution name. Eric Fiselier 2014-11-21 08:54:35 +00:00
  • aeff14fc74 Mark some locale tests as XFAIL on debian and opensuse. Eric Fiselier 2014-11-21 08:02:38 +00:00
  • 5980ce383f Add more REQUIRES: LOCALE.* to tests. Dan Albert 2014-11-21 01:23:04 +00:00
  • 2c7a32ff0f Remove xfail tag for darwin from quick_exit test Eric Fiselier 2014-11-20 03:40:32 +00:00
  • c5e361d024 Remove tests that va_copy is not defined when C++ < 11. Eric Fiselier 2014-11-20 03:39:25 +00:00
  • 19fdbe53b7 Change contradictory wording in va_copy test error message. Eric Fiselier 2014-11-19 20:01:26 +00:00
  • 03c6791dc6 Implement N4280 - 'Non-member size() and more' Marshall Clow 2014-11-19 19:43:23 +00:00
  • ab5bd89de1 Added entries for bugs 2118 and 2306, which were closed in Urbana Marshall Clow 2014-11-19 15:59:16 +00:00
  • c2f0e465ca Overhaul and separate nullptr_t tests to pass with C++03. Eric Fiselier 2014-11-19 05:49:03 +00:00
  • 33c5db58e7 Revert r222296 to fix bad commit message Eric Fiselier 2014-11-19 05:41:29 +00:00
  • 221907d782 Cleanup quick_exit tests and get them passing in C++03. Eric Fiselier 2014-11-19 01:45:12 +00:00
  • 0bb95849ec diff --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
  • 1f8e21c6a3 Modify tests to check that va_copy is only defined in C++11 and beyond. Eric Fiselier 2014-11-18 23:46:18 +00:00
  • f2215ae626 Flush out test cases for tuples constructor SFINAE Eric Fiselier 2014-11-18 23:01:57 +00:00
  • af2976deb3 Add support for LLVM_USE_SANITIZER=Thread Eric Fiselier 2014-11-18 21:26:45 +00:00
  • b1d7c713b4 Marked LWG 2399 as complete. I committed a test for this earlier today. Marshall Clow 2014-11-18 20:37:47 +00:00
  • 7683fe2b7a Add 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
  • 9a4997ba29 Update 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
  • e52b63237a Since 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