summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support
Commit message (Collapse)AuthorAgeFilesLines
...
* Give libcxx tests temporary filenames that are actually unique.Jonathan Roelofs2014-08-191-4/+14
| | | | | | | | This fixes a race condition on temp file name creation. http://reviews.llvm.org/D4962 llvm-svn: 215977
* Add bare_allocator archetype that implements the minimal possible allocator ↵Eric Fiselier2014-08-151-1/+29
| | | | | | interface. llvm-svn: 215691
* Fix PR#202520 - predicate called too many times in list::remove_if. Add ↵Marshall Clow2014-08-041-6/+3
| | | | | | tests for list, forward_list, and the std::remove_if algorithm llvm-svn: 214736
* test commitEric Fiselier2014-07-241-0/+1
| | | | llvm-svn: 213887
* Add a reset method to the counting predicates in the test suiteMarshall Clow2014-07-091-1/+3
| | | | llvm-svn: 212651
* Mark assign to be constepr only in c++14; can't have constexpr fns that ↵Marshall Clow2014-06-101-1/+1
| | | | | | return void in C++11 llvm-svn: 210562
* Testing infastructure: A template for char_traits where all the functions ↵Marshall Clow2014-06-062-0/+185
| | | | | | are constexpr, and a comparison predicate which counts how many times it's been called. llvm-svn: 210381
* Add Address Sanitizer support to std::vectorMarshall Clow2014-05-081-0/+37
| | | | llvm-svn: 208319
* Bug #19473. If you pass an allocator to std::function, we should use that ↵Marshall Clow2014-04-181-0/+60
| | | | | | allocator, not construct one from scratch. Add a test to make sure llvm-svn: 206623
* Implement LWG 2324: Insert iterator constructors should use addressof(). Add ↵Marshall Clow2014-03-031-0/+282
| | | | | | two new container classes to the test suite that overload operator &, and add test cases to the insert/front_insert/back_insert iterator tests that use these containers. llvm-svn: 202741
* Add license headers to a bunch of libc++ files that were missing them. No ↵Marshall Clow2014-01-166-0/+54
| | | | | | functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. llvm-svn: 199400
* Found six (nmostly) identical files named 'test_allocator.h' in the libcxx ↵Marshall Clow2013-12-031-0/+155
| | | | | | test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later. llvm-svn: 196174
* Found two identical files named 'allocators.h' in the libcxx test suite. ↵Marshall Clow2013-12-021-0/+174
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196127
* Found two identical files named 'DefaultOnly.h' in the libcxx test suite. ↵Marshall Clow2013-12-021-0/+26
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196118
* There were two identical files named 'min_allocator.h'. Move one of them to ↵Marshall Clow2013-11-261-0/+252
| | | | | | /support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change. llvm-svn: 195785
* G M: 1. It changes the temp file handling to use the template and the ↵Howard Hinnant2013-10-061-7/+6
| | | | | | | | current directory for windows, matching how it works on other platforms. 2. It re-enables the temp file handling for mingw that regressed. llvm-svn: 192073
* First half of support for N3657; heterogenous lookups for set/multisetMarshall Clow2013-08-131-0/+22
| | | | llvm-svn: 188241
* Nico Rieck: Currently _MSC_VER and _WIN32 are used to guard code which isHoward Hinnant2013-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | MSVC-specific, MSVCRT-specific, or Windows-specific. Because Clang can also define _MSC_VER, and MSVCRT is not necessarily the only C runtime, these macros should not be used interchangeably. This patch divides all Windows-related bits into the aforementioned categories. Two new macros are introduced: - _LIBCPP_MSVC: Defined when compiling with MSVC. Detected using _MSC_VER, excluding Clang. - _LIBCPP_MSVCRT: Defined when using the Microsoft CRT. This is the default when _WIN32 is defined. This leaves _WIN32 for code using the Windows API. This also corrects the spelling of _LIBCP_HAS_IS_BASE_OF to _LIBCPP_HAS_IS_BASE_OF. Nico, please prepare a patch for CREDITS.TXT, thanks. llvm-svn: 187593
* War on tabs.Howard Hinnant2013-07-081-1/+1
| | | | llvm-svn: 185865
* İsmail Dönmez: Change to mktemp template to make it compatible with Linux.Howard Hinnant2013-04-251-1/+1
| | | | llvm-svn: 180267
* Test cleanup with respect to use of deprecated tmpnam function. Also ↵Howard Hinnant2013-03-221-0/+21
| | | | | | Windows port for these tests to use _tempnam. The bulk of this patch was donated anonymously. I've tested it on OS X and accept responsibility for it. If I've broken anyone's platform by switching from tmpnam to mktemp for the generation of temporary file names, just let me know. Should be easy to fix in test/support/platform_support.h llvm-svn: 177755
* Removed raw references to _WIN32; now just check to see if it is defined.Marshall Clow2013-03-181-1/+1
| | | | llvm-svn: 177291
* Michael van der Westhuizen: Improve support for testing on Linux. Fixes ↵Howard Hinnant2013-01-141-1/+6
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14892. llvm-svn: 172436
* Made test output iterators have value_type of 'void'; matches ones in libraryMarshall Clow2013-01-092-1/+14
| | | | llvm-svn: 171980
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-053-0/+371
-I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files llvm-svn: 171594
OpenPOWER on IntegriCloud