summaryrefslogtreecommitdiffstats
path: root/libcxx/test/localization
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-20311-73434/+0
| | | | llvm-svn: 224658
* Mark some locale tests as XFAIL on debian and opensuse.Eric Fiselier2014-11-212-0/+12
| | | | llvm-svn: 222513
* Add more REQUIRES: LOCALE.* to tests.Dan Albert2014-11-219-0/+18
| | | | llvm-svn: 222492
* Mark more locale tests as unsupported with ASAN and MSANEric Fiselier2014-11-138-0/+8
| | | | llvm-svn: 221937
* Actually mark the tests an unsupported with MSAN (not just ASAN)Eric Fiselier2014-11-046-6/+6
| | | | llvm-svn: 221240
* Mark tests that replace operator new/delete as UNSUPPORTED with ASAN and MSAN.Eric Fiselier2014-11-046-0/+12
| | | | | | | tests that replace operator new/delete won't link when using ASAN and MSAN because these sanitizers also replace new/delete. llvm-svn: 221236
* [libcxx] XFAIL all currently failing libc++ tests for linux.Eric Fiselier2014-10-2313-0/+44
| | | | | | | | | | | | | | | | | | Summary: Pretty please? We now have a significant number of builders that test libc++. I really want those builders to be green. Most of these failures are due to differences in locale data, including those in regex. I will continue working on fixing the locale and regex tests but there is no consensus on what the correct direction to go. Since the builders display a list of XFAIL tests they are by no means hidden. It just means they are expected failures. Now unexpected failures won't get mixed in with well known and expected failures. Reviewers: mclow.lists, jroelofs, danalbert Reviewed By: danalbert Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5941 llvm-svn: 220512
* Some tests used __typeof__ instead of decltype. Replace these usages.Marshall Clow2014-10-211-2/+2
| | | | llvm-svn: 220296
* Mark some localization time tests as XFAIL on linux.Eric Fiselier2014-08-212-0/+9
| | | | | | | | This marks some of the localization test XFAIL on linux. There has been some discussion on D4861 about doing this. Please let me know if any of these tests for you on linux. llvm-svn: 216151
* Mark some localization monetary tests as XFAIL on linux.Eric Fiselier2014-08-213-2/+17
| | | | | | | | This marks some of the localization test XFAIL on linux. There has been some discussion on D4861 about doing this. Please let me know if any of these tests for you on linux. llvm-svn: 216150
* Mark localization ctype tests as XFAIL on linux.Eric Fiselier2014-08-216-0/+8
| | | | | | | | This marks some of the localization test XFAIL on linux. There has been some discussion on D4861 about doing this. Please let me know if any of these tests for you on linux. llvm-svn: 216148
* Fix incorrect locale requirements in testsEric Fiselier2014-08-152-2/+2
| | | | llvm-svn: 215694
* Add locales to available_features for tests.Dan Albert2014-08-0443-0/+165
| | | | | | | | | | | | | | | | | | 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. llvm-svn: 214753
* Fix warning in test - missing exception specifier for overload of operator newMarshall Clow2014-07-101-1/+1
| | | | llvm-svn: 212723
* Fix typosAlp Toker2014-05-153-8/+8
| | | | llvm-svn: 208869
* Add license headers to a bunch of libc++ files that were missing them. No ↵Marshall Clow2014-01-161-0/+9
| | | | | | functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. llvm-svn: 199400
* LWG issues 2174/5/6 - mark wstring_convert::converted as noexcept, and make ↵Marshall Clow2013-08-273-0/+12
| | | | | | (some of) the constructors for wstring_convert and wbuffer_convert as explicit. Add configuration macro _LIBCPP_EXPLICIT_AFTER_CXX11 llvm-svn: 189398
* Add operator new[] to test. Partial fix for valgrind warning in ↵Howard Hinnant2013-07-291-0/+5
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=16703. llvm-svn: 187358
* Windows port for __codecvt_utf8<wchar_t>.Howard Hinnant2013-07-082-3/+3
| | | | llvm-svn: 185849
* XFAIL this test when using the darwin12 system library. Reviewed by HowardDavid Dean2013-05-101-0/+1
| | | | llvm-svn: 181610
* Mark some tests with XFAIL for Lion and Mountain Lion.Howard Hinnant2013-05-074-0/+12
| | | | llvm-svn: 181336
* Add explicit casts to unsigned char before calling ctype functions.Joerg Sonnenberger2013-05-024-4/+4
| | | | | | Fixes the value range on platforms with signed char. llvm-svn: 180940
* Zero-initialize all mbstate_t in the codecvt tests.Howard Hinnant2013-04-2313-15/+15
| | | | llvm-svn: 180108
* Numeric parsing was getting the wrong answer when faced with very long ↵Howard Hinnant2013-04-151-0/+12
| | | | | | inputs. This fixes both http://llvm.org/bugs/show_bug.cgi?id=15751 and http://llvm.org/bugs/show_bug.cgi?id=15740 llvm-svn: 179556
* Set failbit when strtold sets errno to ERANGE when parsing floating point ↵Howard Hinnant2013-04-131-0/+48
| | | | | | values. llvm-svn: 179461
* Removed raw references to __APPLE__; now just check to see if it is defined.Marshall Clow2013-03-182-3/+3
| | | | llvm-svn: 177297
* Parsing floating point numbers with very long precision was broken, and this ↵Howard Hinnant2013-03-081-0/+12
| | | | | | patch fixes it. This fixes http://llvm.org/bugs/show_bug.cgi?id=15445. llvm-svn: 176711
* [tests] One last batch of XFAILs, for tests using new symbols added to libc++.Daniel Dunbar2013-02-063-0/+15
| | | | | | | - As of this commit, the test suite should now fully pass on both darwin11 and darwin12 when testing against either a locally built libc++ or the system libc++. llvm-svn: 174478
* [tests] XFAIL some locale tests that don't seem to work on any Darwin.Daniel Dunbar2013-02-058-0/+16
| | | | llvm-svn: 174459
* [tests] Mark another stream input expected failure (with system libc++).Daniel Dunbar2013-02-051-0/+2
| | | | llvm-svn: 174453
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-05100-128/+128
| | | | | | -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
* Removed another copy of 'iterators.h' files in libcxx/testMarshall Clow2013-01-0359-336/+58
| | | | llvm-svn: 171456
* Removed 7 (of 8) different 'iterators.h' files in test/localizationMarshall Clow2013-01-0366-355/+85
| | | | llvm-svn: 171443
* Zhang Xiongpang: Add definitions for const data members. Fixes ↵Howard Hinnant2012-12-123-0/+38
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14585. llvm-svn: 170026
* <algorithm> no longer needs to include <cstdlib>, but can get away with just ↵Howard Hinnant2012-07-262-0/+2
| | | | | | <cstddef>. This was brought to my attention by Salvatore Benedetto in his port to a bare-metal coretex-m3. This exposed two test bugs where an explicit #include <cstdlib> was needed. llvm-svn: 160786
* Fixed a bug in wstring_convert concerning zero-length inputs. Thanks to ↵Howard Hinnant2012-07-122-0/+4
| | | | | | Jonathan Coxhead for reporting this bug. llvm-svn: 160136
* Fix moneypunct_byname algorithm to more accurately represent C locales in C++.Jeffrey Yasskin2012-03-106-150/+147
| | | | llvm-svn: 152501
* Relax pointer output test to accept glibc's output. Patch supplied by ↵Howard Hinnant2012-02-191-1/+1
| | | | | | Jeffrey Yasskin. llvm-svn: 150927
* Do not parse sign if a sign is not the next legal character when parsing ↵Howard Hinnant2012-02-152-0/+24
| | | | | | floating point from an input stream. Fixes http://llvm.org/bugs/show_bug.cgi?id=11871 llvm-svn: 150609
* Remove quotes from locale name identifier. Credit Edward Meewis.Howard Hinnant2011-12-151-1/+1
| | | | llvm-svn: 146655
* Windows porting work by Ruben Van BoxemHoward Hinnant2011-10-0367-276/+410
| | | | llvm-svn: 141003
* More +.UTF-8 fixes.David Chisnall2011-09-2120-31/+31
| | | | llvm-svn: 140262
* Localisation test fixes to make the tests pass on FreeBSD, which does not ↵David Chisnall2011-09-2150-283/+297
| | | | | | | | provide shortened forms of the various locales (e.g. en_US, rather than en_US.UTF-8 / en_US.ISO{whatever}). Reviewed by Howard Hinnant. llvm-svn: 140242
* Warning suppression in test.Howard Hinnant2011-05-141-1/+1
| | | | llvm-svn: 131341
* http://llvm.org/bugs/show_bug.cgi?id=9854. Also created an emulated ↵Howard Hinnant2011-05-133-3/+6
| | | | | | hexfloat literal for use in some of the tests. <sigh> And cleaned up some harmless but irritating warnings in the tests. llvm-svn: 131318
* http://llvm.org/bugs/show_bug.cgi?id=9326Howard Hinnant2011-02-251-0/+53
| | | | llvm-svn: 126504
* license changeHoward Hinnant2010-11-16308-616/+616
| | | | llvm-svn: 119395
* Corrected some int -> char narrowing conversionsHoward Hinnant2010-08-236-72/+72
| | | | llvm-svn: 111849
* Fixing whitespace problemsHoward Hinnant2010-08-2278-299/+297
| | | | llvm-svn: 111761
* [conversions.buffer]Howard Hinnant2010-06-0110-0/+465
| | | | llvm-svn: 105286
OpenPOWER on IntegriCloud