[libcxx] r214753 - Add locales to available_features for tests.

Dan Albert danalbert at google.com
Mon Aug 4 11:44:49 PDT 2014


Author: danalbert
Date: Mon Aug  4 13:44:48 2014
New Revision: 214753

URL: http://llvm.org/viewvc/llvm-project?rev=214753&view=rev
Log:
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.

Modified:
    libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp
    libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp
    libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp
    libcxx/trunk/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp
    libcxx/trunk/test/lit.cfg
    libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/decimal_point.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/frac_digits.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/negative_sign.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/positive_sign.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order_wide.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time_wide.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday_wide.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp
    libcxx/trunk/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp
    libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/decimal_point.pass.cpp
    libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp
    libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/assign.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/char_pointer.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/copy.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp
    libcxx/trunk/test/localization/locales/locale/locale.cons/string.pass.cpp
    libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp
    libcxx/trunk/test/re/re.alg/re.alg.match/ecma.pass.cpp
    libcxx/trunk/test/re/re.alg/re.alg.match/extended.pass.cpp
    libcxx/trunk/test/re/re.alg/re.alg.search/awk.pass.cpp
    libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp
    libcxx/trunk/test/re/re.alg/re.alg.search/ecma.pass.cpp
    libcxx/trunk/test/re/re.alg/re.alg.search/extended.pass.cpp
    libcxx/trunk/test/re/re.traits/lookup_collatename.pass.cpp
    libcxx/trunk/test/re/re.traits/transform.pass.cpp
    libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp

Modified: libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp (original)
+++ libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <ios>
 
 // template <class charT, class traits> class basic_ios

Modified: libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp (original)
+++ libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <ios>
 
 // template <class charT, class traits> class basic_ios

Modified: libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp (original)
+++ libcxx/trunk/test/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <ios>
 
 // template <class charT, class traits> class basic_ios

Modified: libcxx/trunk/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp (original)
+++ libcxx/trunk/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <streambuf>
 
 // template <class charT, class traits = char_traits<charT> >

Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Mon Aug  4 13:44:48 2014
@@ -3,6 +3,7 @@
 # Configuration file for the 'lit' test runner.
 
 import errno
+import locale
 import os
 import platform
 import re
@@ -175,6 +176,42 @@ config.suffixes = ['.cpp']
 # test_source_root: The root path where tests are located.
 config.test_source_root = os.path.dirname(__file__)
 
+# Figure out which of the required locales we support
+locales = {
+    'Darwin': {
+        'en_US.UTF-8': 'en_US.UTF-8',
+        'cs_CZ.ISO8859-2': 'cs_CZ.ISO8859-2',
+        'fr_FR.UTF-8': 'fr_FR.UTF-8',
+        'fr_CA.ISO8859-1': 'cs_CZ.ISO8859-1',
+        'ru_RU.UTF-8': 'ru_RU.UTF-8',
+        'zh_CN.UTF-8': 'zh_CN.UTF-8',
+    },
+    'Linux': {
+        'en_US.UTF-8': 'en_US.UTF-8',
+        'cs_CZ.ISO8859-2': 'cs_CZ.ISO-8859-2',
+        'fr_FR.UTF-8': 'fr_FR.UTF-8',
+        'fr_CA.ISO8859-1': 'fr_CA.ISO-8859-1',
+        'ru_RU.UTF-8': 'ru_RU.UTF-8',
+        'zh_CN.UTF-8': 'zh_CN.UTF-8',
+    },
+    'Windows': {
+        'en_US.UTF-8': 'English_United States.1252',
+        'cs_CZ.ISO8859-2': 'Czech_Czech Republic.1250',
+        'fr_FR.UTF-8': 'French_France.1252',
+        'fr_CA.ISO8859-1': 'French_Canada.1252',
+        'ru_RU.UTF-8': 'Russian_Russia.1251',
+        'zh_CN.UTF-8': 'Chinese_China.936',
+    },
+}
+
+for feature, loc in locales[platform.system()].items():
+    try:
+        locale.setlocale(locale.LC_ALL, loc)
+        config.available_features.add('locale.{}'.format(feature))
+    except:
+        lit_config.warning('The locale {} is not supported by your platoform. '
+                           'Some tests will be unsupported.'.format(loc))
+
 # Gather various compiler parameters.
 cxx_under_test = lit_config.params.get('cxx_under_test', None)
 if cxx_under_test is None:

Modified: libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_CA.UTF-8
+
 // <locale>
 
 // template <class charT> class ctype_byname;

Modified: libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_CA.UTF-8
+
 // <locale>
 
 // template <class charT> class ctype_byname;

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,8 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <locale>
 
 // class money_get<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,8 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.ru_RU.UTF-8
+
 // <locale>
 
 // class money_get<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class money_get<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,8 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <locale>
 
 // class money_put<charT, OutputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,8 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.ru_RU.UTF-8
+
 // <locale>
 
 // class money_put<charT, OutputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class money_put<charT, OutputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,11 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class moneypunct_byname<charT, International>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/decimal_point.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/decimal_point.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/decimal_point.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/decimal_point.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,11 @@
 
 // <locale>
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // class moneypunct_byname<charT, International>
 
 // charT decimal_point() const;

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/frac_digits.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/frac_digits.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/frac_digits.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/frac_digits.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,11 @@
 
 // <locale>
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // class moneypunct_byname<charT, International>
 
 // int frac_digits() const;

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,11 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class moneypunct_byname<charT, International>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,11 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class moneypunct_byname<charT, International>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/negative_sign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/negative_sign.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/negative_sign.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/negative_sign.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class moneypunct_byname<charT, International>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp Mon Aug  4 13:44:48 2014
@@ -9,6 +9,11 @@
 //
 // XFAIL: apple-darwin
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class moneypunct_byname<charT, International>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/positive_sign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/positive_sign.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/positive_sign.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/positive_sign.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class moneypunct_byname<charT, International>

Modified: libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class moneypunct_byname<charT, International>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order_wide.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order_wide.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/date_order_wide.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time_wide.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time_wide.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_time_wide.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday_wide.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday_wide.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday_wide.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>

Modified: libcxx/trunk/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <locale>
 
 // template <class CharT, class OutputIterator = ostreambuf_iterator<CharT> >

Modified: libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/decimal_point.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/decimal_point.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/decimal_point.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/decimal_point.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <locale>
 
 // template <class charT> class numpunct_byname;

Modified: libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <locale>
 
 // template <class charT> class numpunct_byname;

Modified: libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp (original)
+++ libcxx/trunk/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <locale>
 
 // template <class charT> class numpunct_byname;

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/assign.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/assign.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/assign.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.ru_RU.UTF-8
+
 // <locale>
 
 // const locale& operator=(const locale& other) throw();

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/char_pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/char_pointer.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/char_pointer.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/char_pointer.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // explicit locale(const char* std_name);

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/copy.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/copy.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.fr_FR.UTF-8
+
 // <locale>
 
 // locale(const locale& other) throw();

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+
 // <locale>
 
 // locale(const locale& other, const char* std_name, category);

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.ru_RU.UTF-8
+
 // <locale>
 
 // template <class Facet> locale(const locale& other, Facet* f);

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+// REQUIRES: locale.ru_RU.UTF-8
+
 // <locale>
 
 // locale(const locale& other, const locale& one, category cats);

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.ru_RU.UTF-8
+
 // <locale>
 
 // locale(const locale& other, const string& std_name, category cat);

Modified: libcxx/trunk/test/localization/locales/locale/locale.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locales/locale/locale.cons/string.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/localization/locales/locale/locale.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/localization/locales/locale/locale.cons/string.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.ru_RU.UTF-8
+// REQUIRES: locale.zh_CN.UTF-8
+
 // <locale>
 
 // explicit locale(const string& std_name);

Modified: libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

Modified: libcxx/trunk/test/re/re.alg/re.alg.match/ecma.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.match/ecma.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.match/ecma.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.match/ecma.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

Modified: libcxx/trunk/test/re/re.alg/re.alg.match/extended.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.match/extended.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.match/extended.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.match/extended.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

Modified: libcxx/trunk/test/re/re.alg/re.alg.search/awk.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.search/awk.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.search/awk.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.search/awk.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

Modified: libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

Modified: libcxx/trunk/test/re/re.alg/re.alg.search/ecma.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.search/ecma.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.search/ecma.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.search/ecma.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

Modified: libcxx/trunk/test/re/re.alg/re.alg.search/extended.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.search/extended.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.search/extended.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.search/extended.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class BidirectionalIterator, class Allocator, class charT, class traits>

Modified: libcxx/trunk/test/re/re.traits/lookup_collatename.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.traits/lookup_collatename.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.traits/lookup_collatename.pass.cpp (original)
+++ libcxx/trunk/test/re/re.traits/lookup_collatename.pass.cpp Mon Aug  4 13:44:48 2014
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class charT> struct regex_traits;

Modified: libcxx/trunk/test/re/re.traits/transform.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.traits/transform.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.traits/transform.pass.cpp (original)
+++ libcxx/trunk/test/re/re.traits/transform.pass.cpp Mon Aug  4 13:44:48 2014
@@ -8,6 +8,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class charT> struct regex_traits;

Modified: libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp?rev=214753&r1=214752&r2=214753&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp (original)
+++ libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp Mon Aug  4 13:44:48 2014
@@ -8,6 +8,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.cs_CZ.ISO8859-2
+
 // <regex>
 
 // template <class charT> struct regex_traits;





More information about the cfe-commits mailing list