cxx/test
Dan Albert b4ed5ca01e Add locales to available_features for tests.
Linux has a lot of failures caused by not having support for certain
locales. Since these come out as a lot of noise in the test results,
have lit.cfg detect the presence of the various locales used in the
tests and add them to config.available_features as locale.LOCALE_NAME.

This patch also adds REQUIRES: locale.REQUIRED_LOCALE to every test that
I saw failing in this manner. We probably need to add more for all the
tests requiring en_US.UTF-8, but we can do that on an as-needed basis.

One thing that concerns me is how many tests get skipped because of
missing locales (especially in regex/). We should make a point of
splitting up any tests that test default behavior _and_ behavior under a
given locale so that we aren't losing coverage for default behavior.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@214753 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-04 18:44:48 +00:00
..
algorithms Fix PR#202520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm 2014-08-04 17:32:25 +00:00
atomics Add test cases for creating atomic types for trivially copyable types. 2014-07-31 15:20:48 +00:00
containers Fix PR#202520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm 2014-08-04 17:32:25 +00:00
depr Fix a couple of -Wabsolute-value warnings in the libc++ tests 2014-03-06 16:27:17 +00:00
diagnostics Linux: Correctly identify valid error codes 2014-05-29 05:02:22 +00:00
experimental [libcxx] expose experimental::erased_type for all standard versions. 2014-07-24 19:17:38 +00:00
extensions Do not derive __gnu_cxx::hash<T> from std::hash<T>. 2014-03-06 04:11:10 +00:00
input.output Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
iterators Implement LWG 2360: 'reverse_iterator::operator*() is unimplementable'. Note that this is a (small) behavior change in the library. Reverse iterators whose base iterators' operator* return references to 'within themselves' have been sacrificed to the greater goal of avoiding data races. 2014-03-11 17:16:17 +00:00
language.support Fix numeric_limits<XXX>::is_modulo for signed arithmetic types. We were reporting true, for all arithmetic types, which is incorrect. Fix the tests which were wrong, too. This fixes PR#20158. 2014-07-31 01:18:05 +00:00
localization Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
numerics [libc++] Don't return uninitialized data from random_device::operator() 2014-06-03 02:40:39 +00:00
re Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
strings Fix bug #20335 - memory leak when move-constructing a string with unequal allocator. Thanks to Thomas Koeppe for the report 2014-07-17 15:32:20 +00:00
support Fix PR#202520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm 2014-08-04 17:32:25 +00:00
thread Handle partial nanosleeps in this_thread::sleep_for 2014-06-04 19:43:20 +00:00
utilities D4451: Fix copy/move issues casude by __tuple_leafs's converting constructor 2014-07-24 18:48:34 +00:00
CMakeLists.txt Make it possible to run the test suite when built as part of LLVM. 2013-10-03 21:58:25 +00:00
lit.cfg Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
lit.site.cfg.in Make it possible to link against libstdc++ as well as libsupc++ with CMake. 2013-10-06 22:13:19 +00:00
nothing_to_do.pass.cpp Test commit: Reverting whitespace changes 2014-07-17 05:10:03 +00:00
testit Apply patch for Albert Wong: 'Modify testit to allow filtering tests by prefixes'. 2014-01-15 16:28:42 +00:00