summaryrefslogtreecommitdiffstats
path: root/libcxx/test/input.output
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace maintenance. Remove a bunch of tabs that snuck in. No ↵Marshall Clow2014-10-181-30/+30
| | | | | | functionality change llvm-svn: 220142
* Fix a bug in the move-assigment operator for basic_stringbuf. Thanks to ↵Marshall Clow2014-09-161-0/+36
| | | | | | Johnathan Wakeley for the bug report llvm-svn: 217894
* Fix assignments that should be comparisons x3Eric Fiselier2014-08-231-2/+2
| | | | llvm-svn: 216318
* Change two tests to be less dependant on locales.Eric Fiselier2014-08-122-4/+5
| | | | | | | | | | | | This patch removes the use of the "%c" specifier for getting/setting times. The semantics of this specifier differ between linux and Mac. I don't believe the use of this specifier was important to the test. The following tests now pass on linux. test/input.output/iostream.format/ext.manip/get_time.pass.cpp test/input.output/iostream.format/ext.manip/put_time.pass.cpp llvm-svn: 215417
* Add locales to available_features for tests.Dan Albert2014-08-044-0/+11
| | | | | | | | | | | | | | | | | | 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
* Remove unused code in a libc++ test.Nico Weber2014-06-021-17/+0
| | | | | | | | | | | Other tests in this directory use this type, so it's probably copypasta from there. (test_buf only forwards to the superclass in all tests where it's used though, so I wonder if it can be replaced with just using filebuf / wfilebuf everywhere?) llvm-svn: 210019
* Fix bug 19740; round-tripping a pointer through a stream doesn't workMarshall Clow2014-05-211-0/+18
| | | | llvm-svn: 209305
* Remove XFAIL from a number of tests that aren't expected to failJustin Bogner2014-05-155-15/+0
| | | | | | | | These tests haven't been failing on darwin11 or 12 since r189610 when pr17027 was fixed, but they've been keeping the libc++ bot red by XPASSing since then. llvm-svn: 208831
* Add more tests for std::ws as pointed out by bug #19497Marshall Clow2014-04-211-0/+20
| | | | llvm-svn: 206770
* Implement LWG #2344: quoted()'s interaction with padding is unclear. I think ↵Marshall Clow2014-03-071-4/+19
| | | | | | that anyone using quoted with padding is really confused, but it should work the way the rest of iostreams works. llvm-svn: 203290
* Fix a test that I broke over the weekendMarshall Clow2013-11-191-10/+10
| | | | llvm-svn: 195143
* Fixed bug in quoted strings implementation. Added test to be sure. Thanks to ↵Marshall Clow2013-11-141-0/+12
| | | | | | Peter Sommerlad for the report (and suggested fix) llvm-svn: 194725
* LWG issue 2341; Make the two variants of basic_ostream::seekp and ↵Marshall Clow2013-10-312-2/+8
| | | | | | basic_istream::seekg behave consistently; update tests to make sure llvm-svn: 193814
* Implement national body comment GB9: remove std::getsMarshall Clow2013-10-122-0/+25
| | | | llvm-svn: 192538
* N3545: Quoted stringsMarshall Clow2013-09-053-0/+270
| | | | llvm-svn: 190032
* XFAIL a few tests on darwin12Howard Hinnant2013-08-223-0/+3
| | | | llvm-svn: 189043
* Add pointer format test for Windows.Howard Hinnant2013-07-161-1/+7
| | | | llvm-svn: 186472
* War on tabs.Howard Hinnant2013-07-081-12/+12
| | | | llvm-svn: 185865
* Silence -Wint-to-void-pointer-cast warning in test.Howard Hinnant2013-07-061-2/+3
| | | | llvm-svn: 185756
* XFAIL this test on 10.7 and 10.8Howard Hinnant2013-07-011-0/+3
| | | | llvm-svn: 185391
* In istream::ignore, check the delimeter as an int_type, not as a char_type, ↵Howard Hinnant2013-07-011-0/+34
| | | | | | so as to correctly handle EOF. This fixes http://llvm.org/bugs/show_bug.cgi?id=16427 llvm-svn: 185298
* The move / swap members were not correctly taking all of the possible states ↵Howard Hinnant2013-04-031-0/+37
| | | | | | of the basic_stringbuf into account. Just rewrote these members. Test included. This fixes http://llvm.org/bugs/show_bug.cgi?id=15659. llvm-svn: 178690
* Test cleanup with respect to use of deprecated tmpnam function. Also ↵Howard Hinnant2013-03-2224-184/+184
| | | | | | 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
* [tests] Mark some istream.unformatted expected failures (with system libc++).Daniel Dunbar2013-02-054-0/+9
| | | | llvm-svn: 174444
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-0517-17/+17
| | | | | | -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
* Test case for http://llvm.org/bugs/show_bug.cgi?id=14670.Howard Hinnant2012-12-201-0/+2
| | | | llvm-svn: 170706
* Andrew Morrow: This patch fixesHoward Hinnant2012-08-021-1/+1
| | | | | | | | | test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp to accept '(nil)' as a valid representation for NULL so that the test passes on Linux. The same thing is already done in some other tests, like in /test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp. llvm-svn: 161188
* noexcept and constexpr applied to <ios>.Howard Hinnant2012-07-211-0/+3
| | | | llvm-svn: 160593
* Windows porting work by Ruben Van BoxemHoward Hinnant2011-10-0317-54/+88
| | | | llvm-svn: 141003
* Remove undefines in cstdio test. Fix these properly rather than bodging the ↵David Chisnall2011-09-211-24/+0
| | | | | | tests. llvm-svn: 140264
* More fixes to the tests. Add UTF-8 encoding to all locales that don't ↵David Chisnall2011-09-217-19/+43
| | | | | | specify one. Undefine some stdio.h macros that break the tests. llvm-svn: 140252
* Fully-qualify some more locales in the tests...David Chisnall2011-09-215-11/+11
| | | | llvm-svn: 140251
* More locale cleanups. Fully specify locales in iostream tests.David Chisnall2011-09-214-22/+22
| | | | llvm-svn: 140247
* Reimplemented much of <istream> such that single character extractions do ↵Howard Hinnant2011-09-014-8/+8
| | | | | | not check to see if this is the last character in the stream and thus never set eofbit. This fixes http://llvm.org/bugs/show_bug.cgi?id=10817 . This fix requires a recompiled libc++.dylib to be fully implemented. The recompiled libc++.dylib is ABI compatible with that shipped on Lion. llvm-svn: 138961
* Correct test.Howard Hinnant2011-07-191-0/+1
| | | | llvm-svn: 135460
* Make all fstream tests use tmpnam if creating files, rather thanAlexis Hunt2011-07-1824-156/+205
| | | | | | hard-coded names. llvm-svn: 135444
* Do a litmus test of using tmpnam to generate safe temporary file namesAlexis Hunt2011-07-181-4/+6
| | | | | | for the tests that open new data files. llvm-svn: 135422
* Fix test bug.Howard Hinnant2011-05-141-1/+1
| | | | llvm-svn: 131328
* Suppress some warings in the tests.Howard Hinnant2011-05-141-8/+8
| | | | llvm-svn: 131327
* license changeHoward Hinnant2010-11-16357-714/+714
| | | | llvm-svn: 119395
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-0422-60/+60
| | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086
* Accidentally changed a data file during the whitespace cleanupHoward Hinnant2010-08-231-1/+1
| | | | llvm-svn: 111845
* Fixing whitespace problemsHoward Hinnant2010-08-2280-124/+124
| | | | llvm-svn: 111758
* UTF-8 data in this file somehow got garbledHoward Hinnant2010-05-281-1/+1
| | | | llvm-svn: 104952
* more :: to _Howard Hinnant2010-05-1813-0/+0
| | | | llvm-svn: 104006
* Got rid of more :: path namesHoward Hinnant2010-05-177-0/+0
| | | | llvm-svn: 103970
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-11358-358/+358
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-11363-0/+19370
llvm-svn: 103490
OpenPOWER on IntegriCloud