llvm-project/libcxx/test/re/re.alg/re.alg.search
Dan Albert a85b27f6f7 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.

llvm-svn: 214753
2014-08-04 18:44:48 +00:00
..
awk.pass.cpp Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
backup.pass.cpp Bill Fisher: This patch fixes a less likely case where '\b' can back up into invalid memory, when driven by a regex_iterator (for case 1, see r185273 or http://llvm.org/bugs/show_bug.cgi?id=16240) 2013-07-11 15:32:55 +00:00
basic.fail.cpp Implement LWG Issues #2329 and #2332 - disallow iterators into temporary regexes and regexes into temporary strings 2014-02-19 21:21:11 +00:00
basic.pass.cpp Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
ecma.pass.cpp Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
egrep.pass.cpp
extended.pass.cpp Add locales to available_features for tests. 2014-08-04 18:44:48 +00:00
grep.pass.cpp
lookahead.pass.cpp William Fisher: A bug in __lookahead::exec causes /(?=^)b/ to match ab. When makes a recursive call to , it passes true for the value of . This causes a beginning-of-line anchor (^) inside a lookahead assertion to match anywhere in the text. This fixes http://llvm.org/bugs/show_bug.cgi?id=11118 2013-06-28 19:11:23 +00:00
no_update_pos.pass.cpp Bill Fisher: This patch fixes a bug where regex_iterator doesn't indicate when it's restarting in the middle of a string. This bug causes /^a/ to match in the middle of the string "aaaaaaa", during iteration. 2013-07-09 17:29:09 +00:00