summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re
Commit message (Collapse)AuthorAgeFilesLines
* Void cast runtime-unused variables. Patch from STL@microsoft.comEric Fiselier2016-05-021-1/+1
| | | | llvm-svn: 268284
* Apparently XFAIL tests that are supposed to fail to compile can be ↵Marshall Clow2016-04-267-14/+28
| | | | | | problematic. They still get compiled, and if the compile succeeds, the buildbots complain. Replace the XFAIL with #error. llvm-svn: 267591
* #include <test_macros.h> in all the regex tests, and remove all mentions of ↵Marshall Clow2016-04-26140-31/+149
| | | | | | __cpluplus (use TEST_STD_VERS and/or XFAIL instead). No functional change llvm-svn: 267567
* Add some tests to ensure that the __regex_word does not conflict with any of ↵Marshall Clow2016-02-111-0/+13
| | | | | | | | ctype_base's values. Hopefully this will catch cases like https://llvm.org/bugs/show_bug.cgi?id=26476 in the future. llvm-svn: 260527
* re.results.form: Format out-of-range subexpression references as nullDuncan P. N. Exon Smith2016-02-031-0/+52
| | | | | | | | | | Rather than crashing in match_results::format() when a reference to a marked subexpression is out of range, format the subexpression as empty (i.e., replace it with an empty string). Note that match_results::operator[]() has a range-check and returns a null match in this case, so this just re-uses that logic. llvm-svn: 259682
* [libcxx] Add appropriate 'REQUIRE' directives to tests that require en_US.UTF-8.Daniel Sanders2016-01-214-0/+8
| | | | | | | | | | Reviewers: mclow.lists, hans Subscribers: bcraig, cfe-commits Differential Revision: http://reviews.llvm.org/D16406 llvm-svn: 258403
* Mark slow ASAN/MSAN tests as XFAIL for now.Eric Fiselier2016-01-191-0/+4
| | | | llvm-svn: 258195
* Fix PR#26175. Thanks to Josh Petrie for the report and the patch. Reviewed ↵Marshall Clow2016-01-191-0/+1
| | | | | | as http://reviews.llvm.org/D16262 llvm-svn: 258107
* Make it possible to build a no-exceptions variant of libcxx.Asiri Rathnayake2015-11-104-0/+4
| | | | | | | | | | | | Fixes a small omission in libcxx that prevents libcxx being built when -DLIBCXX_ENABLE_EXCEPTIONS=0 is specified. This patch adds XFAILS to all those tests that are currently failing on the new -fno-exceptions library variant. Follow-up patches will update the tests (progressively) to cope with the new library variant. Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a llvm-svn: 252598
* Remove task to get C++03 tests passing from TODO.txtEric Fiselier2015-08-301-1/+1
| | | | llvm-svn: 246392
* Finally get the test suite passing in C++03!!Eric Fiselier2015-08-281-0/+4
| | | | | | | | | After months of work there are only 4 tests still failing in C++03. This patch fixes those tests. All of the libc++ builders should be green. llvm-svn: 246275
* Fix a crasher found by libFuzzerMarshall Clow2015-08-241-0/+23
| | | | llvm-svn: 245849
* Detect and throw on a class of bad regexes that we mistakenly accepted ↵Marshall Clow2015-07-232-1/+43
| | | | | | before. Thanks to Trevor Smigiel for the report llvm-svn: 243030
* Add code to honor the match_not_bol and match_not_eol regex flats. Fixes ↵Marshall Clow2015-03-192-0/+100
| | | | | | PR#22651. Thanks to Jim Porter for the report and suggested fix. llvm-svn: 232733
* Don't hardcode the Czech locale name.Ed Schouten2015-03-1611-30/+44
| | | | | | | | | | | | We already have a definition for the Czech locale name in platform_support.h. Use this one instead. While there, respect the common format of the tests. For most other tests it's the case that test_iterators.h is placed right underneath the other #includes (without an empty line). platform_support.h is included after an empty line. llvm-svn: 232383
* Fix for PR22061 by K-balloMarshall Clow2015-01-281-3/+6
| | | | llvm-svn: 227384
* Cleaning up the test suite; remove some includes of non-standard file <__config>Marshall Clow2015-01-187-21/+7
| | | | llvm-svn: 226411
* Rename system_lib -> system_cxx_lib. NFCJonathan Roelofs2015-01-141-2/+2
| | | | llvm-svn: 226061
* Make regex::assign not clobber the regex in case of failure. Fixes PR#22213Marshall Clow2015-01-131-0/+9
| | | | llvm-svn: 225799
* Move test into test/std subdirectory.Eric Fiselier2014-12-20157-0/+19053
llvm-svn: 224658
OpenPOWER on IntegriCloud