cxx/test
Joerg Sonnenberger 63d8f7e341 Add explicit casts to unsigned char before calling ctype functions.
Fixes the value range on platforms with signed char.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180940 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-02 19:17:48 +00:00
..
algorithms Somehow search_n never got tested, so of course it had a bug in it. This fixes http://llvm.org/bugs/show_bug.cgi?id=15667. 2013-04-04 15:40:48 +00:00
atomics atomic_bool was missing (just a typedef to atomic<bool>). 2013-01-04 18:58:50 +00:00
containers After years of telling people: 'If you ever find any of my code that self-move-assigns, send me a bug report.' Somebody finally took me up on it. vector::erase(begin(), begin()) does a self-move-assign of every element in the vector, leaving all of those elements in an unspecified state. I checked the other containers for this same bug and did not find it. Added test case. 2013-04-18 15:02:57 +00:00
depr [tests] XFAIL a few things that require libc (?) support missing on Darwin. 2013-02-05 22:10:25 +00:00
diagnostics Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
input.output The move / swap members were not correctly taking all of the possible states of the basic_stringbuf into account. Just rewrote these members. Test included. This fixes http://llvm.org/bugs/show_bug.cgi?id=15659. 2013-04-03 20:21:29 +00:00
iterators Move common header files into a 'support' directory; make 'testit' include -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files 2013-01-05 03:21:01 +00:00
language.support [tests] XFAIL a few things that require libc (?) support missing on Darwin. 2013-02-05 22:10:25 +00:00
localization Add explicit casts to unsigned char before calling ctype functions. 2013-05-02 19:17:48 +00:00
numerics Marshall Clow found some divide-by-zero warnings with UBSan in rand's binomial_distribution test. This eliminates the divide-by-zeros and describes in comments the numerical difficulties the test is having. Each of the problematic tests are exploring edge cases of the distribution. 2013-03-23 19:29:45 +00:00
re Add explicit casts to unsigned char before calling ctype functions. 2013-05-02 19:17:48 +00:00
strings This is a start at making the libc++ test suite friendlier to the -fnoexceptions flag. Although this is not a complete solution, it does reduce the number of test failures on OS X from 467 to 128 on OS X when -fno-exceptions is enabled, and does not impact the number of failures at all when -fno-exceptions is not enabled. The bulk of this code was donated anonymously. 2013-03-23 17:27:16 +00:00
support İsmail Dönmez: Change to mktemp template to make it compatible with Linux. 2013-04-25 16:08:55 +00:00
thread Fixed race conditions in thread tests; exposed by UBSan 2013-03-26 15:28:33 +00:00
utilities default_delete needs a static_assert against void types. I had previously thought that sizeof(void) would take care of this. I was wrong. 2013-04-24 19:44:26 +00:00
CMakeLists.txt Allow libc++ to be built with CMake from within the LLVM tree. The libc++ part is just some renaming as the variable was already in use, conflicting with something else in the LLVM tree. Contributed by Ruben Van Boxem. 2012-03-19 15:40:23 +00:00
lit.cfg [tests] Add support for a link_flags lit parameter. 2013-02-12 19:28:51 +00:00
lit.site.cfg.in Add CMake build and fix major Linux blockers. 2010-12-10 19:47:54 +00:00
nothing_to_do.pass.cpp license change 2010-11-16 22:09:02 +00:00
testit Avoid bash specific functionality to work with any POSIX shell 2013-04-23 19:53:24 +00:00