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 +0000
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 +0000
b15298338cAdd tests to check the typedefs from the result of std::owner_less
Marshall Clow
2015-01-07 20:54:51 +0000
58d4e04168Missed one comparison test in r225375
Marshall Clow
2015-01-07 20:40:28 +0000
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 +0000
0588c74a87Move a test to the new tests directory.
Dan Albert
2015-01-06 22:18:27 +0000
21b03d7189Make a test UNSUPPORTED if libcpp-has-no-threads.
Dan Albert
2015-01-06 19:32:30 +0000
8f1ac0fb3dAppease MSAN buildbots.
Dan Albert
2015-01-06 19:23:25 +0000
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 +0000
c101738156Obey [atomics.types.operations.req]/21 for GCC.
Dan Albert
2015-01-06 18:39:37 +0000
656850f03e[libcxx] Set _LIBCPP_ELAST for mingw.
Dan Albert
2015-01-06 17:34:51 +0000
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 +0000
60b3df404ePrevent ill-formed instantiation of __invoke_of<...> during the evaluation of a bind expression. Fixes PR22003.
Eric Fiselier
2014-12-23 05:54:34 +0000
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 +0000
4eb5b6d5ee[libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers.
Eric Fiselier
2014-12-22 22:38:59 +0000
71dc14e864[libcxx] Add numerous options to libc++ LIT test suite configuration.
Eric Fiselier
2014-12-22 20:49:45 +0000
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 +0000
814b625303Move unconditional test compile and link flags into their configuration functions.
Eric Fiselier
2014-12-20 04:14:14 +0000
4778eed34f[libcxx] Teach libcxx's lit configuration new ways to find lit.site.cfg
Eric Fiselier
2014-12-20 03:16:55 +0000
a90c6dd460Move test into test/std subdirectory.
Eric Fiselier
2014-12-20 01:40:03 +0000
919b8f295eCreating release candidate rc2 from release_351 branch
Tom Stellard
2014-12-19 22:30:07 +0000
669a8a5a19[libcxx] Add <experimental/type_traits> for LFTS
Eric Fiselier
2014-12-19 22:21:44 +0000
bd8adae47fRemove unneeded configuration code.
Eric Fiselier
2014-12-19 21:42:17 +0000
b8e76804f1[libcxx] Allow the use of ccache when running the test suite.
Eric Fiselier
2014-12-19 19:27:32 +0000
4975bad299Re-commit the test for regex that I busted last night - now passes under ASAN
Marshall Clow
2014-12-16 16:22:43 +0000
7797c867d3Appease the c++14 buildbots
Jonathan Roelofs
2014-12-16 01:18:11 +0000
a1a4db3fe5Comment out the breaking tests until I figure out what's going on here.
Marshall Clow
2014-12-16 00:59:59 +0000
a2ef609ff1Fix installheaders target's permissions
Jonathan Roelofs
2014-12-16 00:48:13 +0000
e51267e2d1Once more w/o the typo.
Marshall Clow
2014-12-16 00:46:23 +0000
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 +0000
ab3c50593cAdd test to ensure that iterator_traits<NotAnIterator> doesn't have a value type
Marshall Clow
2014-12-16 00:30:07 +0000
9acbcee2c6Add option to turn off installation of headers.
Eric Fiselier
2014-12-12 22:52:58 +0000
984f8f6e43Include newlib-specific locales in __locale
Sergey Dmitrouk
2014-12-12 08:36:16 +0000
ae9fec0bdfAdd support for building libc++ as a 32 bit library
Eric Fiselier
2014-12-12 03:12:18 +0000
01f6a1410cFix building and running tests when LIBCXX_ENABLE_EXCEPTIONS or LIBCXX_ENABLE_RTTI are turned off.
Eric Fiselier
2014-12-12 02:36:23 +0000
08e3a7887fAdd 'REQUIRES: long_tests' to one more long test
Jonathan Roelofs
2014-12-11 22:27:49 +0000
5030eaf65dAdd 'REQUIERS: long_tests' to a few more long tests
Jonathan Roelofs
2014-12-11 22:05:18 +0000
2f2daa1436Fix platform_support.h's get_temp_file_name() on Newlib under __STRICT_ANSI__
Jonathan Roelofs
2014-12-11 20:56:40 +0000
cddec8a9ddAdd an XFAIL for Newlib's missing uchar.h
Jonathan Roelofs
2014-12-11 19:11:39 +0000
d9144e8d17Mark a bunch of long running tests as 'REQUIRES: long_tests'
Jonathan Roelofs
2014-12-11 18:35:36 +0000
952438bf70Mark some more fenv tests as UNSUPPORTED by newlib
Jonathan Roelofs
2014-12-11 16:17:26 +0000
f2bd5a0fe1Add an XFAIL for Newlib's missing fenv.h
Jonathan Roelofs
2014-12-11 15:37:22 +0000
e1896350dbCreating release candidate rc1 from release_35 branch
Tom Stellard
2014-12-10 20:04:55 +0000
fe911331edCreating release directory for release_35.
Tom Stellard
2014-12-10 20:04:47 +0000
453a50040bUpdate information on where to find buildbots. Remove dead buildbot links.
Eric Fiselier
2014-12-09 22:53:21 +0000
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 +0000
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 +0000
fff544efbdExplicitly include <sched.h> for sched_yield()
Sergey Dmitrouk
2014-12-08 14:50:21 +0000
2764d046a1Give lit.cfg's threading options default values when not defined.
Eric Fiselier
2014-12-07 08:52:19 +0000
427f1a3014Mark a couple of tests as XFAIL with older compilers.
Eric Fiselier
2014-12-07 05:31:17 +0000
cd83c78703Consolidate error reporting in lit.cfg
Eric Fiselier
2014-12-07 04:28:50 +0000
2050be27a4Revert parts of r223594. Use DYLD_LIBRARY_PATH on OSX when running tests.
Eric Fiselier
2014-12-07 00:34:23 +0000
74e7af0d75Fix apple clang detection in lit.cfg
Eric Fiselier
2014-12-06 22:49:38 +0000
83313c7ee8Unify and cleanup rpath handling in tests.
Eric Fiselier
2014-12-06 22:08:51 +0000
c934ca7237[libcxx] Add logic to probe compiler in tests.
Eric Fiselier
2014-12-06 21:13:15 +0000
7330ed3228Add support for building and testing libc++ without threads to CMake.
Eric Fiselier
2014-12-06 21:02:58 +0000
a245f9b263Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperly
Eric Fiselier
2014-12-06 20:09:11 +0000
93cfd7fc4elibc++: support NaCl when building thread.cpp
JF Bastien
2014-12-02 17:30:19 +0000
2bd5ffd330libc++: add NaCl and PNaCl support for std::random_device
JF Bastien
2014-12-01 19:19:55 +0000
6317e9b85alibc++: integral types trap on PNaCl
JF Bastien
2014-11-26 17:51:58 +0000
6cb69ffa0aFixes to get libc++ building on sun solaris. Patch from C Bergstrom.
Eric Fiselier
2014-11-25 21:57:41 +0000
bd0000808dUse lit.util.executeCommand instead of our own version
Eric Fiselier
2014-11-25 03:03:32 +0000
e6e69df598Print lit configuration information after all configuration is done.
Eric Fiselier
2014-11-24 23:46:42 +0000
877409a1c7Add better support for custom test runners.
Dan Albert
2014-11-24 22:24:06 +0000
1567ac850cHandle extra whitespace in linux distribution name.
Eric Fiselier
2014-11-21 08:54:35 +0000
aeff14fc74Mark some locale tests as XFAIL on debian and opensuse.
Eric Fiselier
2014-11-21 08:02:38 +0000
5980ce383fAdd more REQUIRES: LOCALE.* to tests.
Dan Albert
2014-11-21 01:23:04 +0000
2c7a32ff0fRemove xfail tag for darwin from quick_exit test
Eric Fiselier
2014-11-20 03:40:32 +0000
c5e361d024Remove tests that va_copy is not defined when C++ < 11.
Eric Fiselier
2014-11-20 03:39:25 +0000
19fdbe53b7Change contradictory wording in va_copy test error message.
Eric Fiselier
2014-11-19 20:01:26 +0000
ab5bd89de1Added entries for bugs 2118 and 2306, which were closed in Urbana
Marshall Clow
2014-11-19 15:59:16 +0000
c2f0e465caOverhaul and separate nullptr_t tests to pass with C++03.
Eric Fiselier
2014-11-19 05:49:03 +0000
33c5db58e7Revert r222296 to fix bad commit message
Eric Fiselier
2014-11-19 05:41:29 +0000
221907d782Cleanup quick_exit tests and get them passing in C++03.
Eric Fiselier
2014-11-19 01:45:12 +0000
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 +0000
1f8e21c6a3Modify tests to check that va_copy is only defined in C++11 and beyond.
Eric Fiselier
2014-11-18 23:46:18 +0000
f2215ae626Flush out test cases for tuples constructor SFINAE
Eric Fiselier
2014-11-18 23:01:57 +0000
af2976deb3Add support for LLVM_USE_SANITIZER=Thread
Eric Fiselier
2014-11-18 21:26:45 +0000
b1d7c713b4Marked LWG 2399 as complete. I committed a test for this earlier today.
Marshall Clow
2014-11-18 20:37:47 +0000
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 +0000
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 +0000
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 +0000
48b428d540Fix the tests I broke with the last commit. Sorry for the noise
Marshall Clow
2014-11-17 19:16:57 +0000
4b3ca8c249Implement LWG2400 - 'shared_ptr's get_deleter() should use addressof()', and add tests. Mark LWG2400 and LWG2404 as complete
Marshall Clow
2014-11-17 19:05:50 +0000
36628eb77aReworked mismatch tests to count the number of comparisons, and make sure we are conforming with LWG2404. We are
Marshall Clow
2014-11-17 18:52:25 +0000
cfeac66f8cFix a warning in the test; no functionality change
Marshall Clow
2014-11-17 16:34:44 +0000
88aae920efImplement void_t from N3911. Add a private version for use in the library before C++1z. Update the 1z status page, marking a bunch of issues that don't require library changes as complete (2129, 2212, 2230, 2233, 2325, 2365, 2376)
Marshall Clow
2014-11-17 15:50:08 +0000
275b6bbe1cAdd tests to ensure that reference_wrapper<T> is trivially copyable. This was added to C++1z with the adoption of N4277, but libc++ already implemented it as a conforming extension. No code changes were needed, just more tests.
Marshall Clow
2014-11-17 15:04:46 +0000
9a1468f79eFix build regression caused by not defining ABI library macros
Eric Fiselier
2014-11-15 17:25:23 +0000
8e2855ce0b[libcxx] Refactor CMakeLists.txt handling of compile and link flags to suppress warnings.
Eric Fiselier
2014-11-15 06:26:30 +0000
0364baca04Split thread test into two parts. Mark one as XFAIL with ASAN.
Eric Fiselier
2014-11-15 01:58:45 +0000
017e1aab88Initialize pointer in string conversion helpers to prevent MSAN diagnostic.
Eric Fiselier
2014-11-14 22:23:57 +0000
1383dc5bd0add debug info when compiling sanitizer tests
Eric Fiselier
2014-11-14 22:18:03 +0000
fd2848735aAdd -gline-tables-only when compiling w/ sanitizers in RELEASE
Eric Fiselier
2014-11-14 20:38:07 +0000
50ada3a8f7[libcxx] Fix memory leak in strstream tests.
Eric Fiselier
2014-11-14 19:10:43 +0000
d759095887[libcxx] Fix vector annotator size increase in `vector::insert(pos, count, value)`
Eric Fiselier
2014-11-14 18:28:36 +0000
1c3b15d339Split string capacity test into two parts and mark one part as UNSUPPORTED when using sanitizers.
Eric Fiselier
2014-11-14 03:16:12 +0000