[libcxx] r258403 - [libcxx] Add appropriate 'REQUIRE' directives to tests that require en_US.UTF-8.

Daniel Sanders via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 21 07:35:15 PST 2016


Author: dsanders
Date: Thu Jan 21 09:35:15 2016
New Revision: 258403

URL: http://llvm.org/viewvc/llvm-project?rev=258403&view=rev
Log:
[libcxx] Add appropriate 'REQUIRE' directives to tests that require en_US.UTF-8.

Reviewers: mclow.lists, hans

Subscribers: bcraig, cfe-commits

Differential Revision: http://reviews.llvm.org/D16406

Modified:
    libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp
    libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
    libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp
    libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp
    libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp
    libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp
    libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp
    libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp
    libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp
    libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp
    libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp
    libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp
    libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp
    libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.codecvt.byname/ctor_wchar_t.pass.cpp
    libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale/locale.cons/default.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale/locale.members/name.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale/locale.operators/eq.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale/locale.statics/global.pass.cpp
    libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp
    libcxx/trunk/test/std/re/re.traits/default.pass.cpp
    libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp
    libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp

Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <fstream>
 
 // int_type overflow(int_type c = traits::eof());

Modified: libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <fstream>
 
 // int_type underflow();

Modified: libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/ext.manip/get_time.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <iomanip>
 
 // template <class charT> T9 get_time(struct tm* tmb, const charT* fmt);

Modified: libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <iomanip>
 
 // template <class charT> T10 put_time(const struct tm* tmb, const charT* fmt);

Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <ios>
 
 // class ios_base

Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <ios>
 
 // class ios_base

Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostreams.base/ios/basic.ios.members/imbue.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <ios>
 
 // template <class charT, class traits> class basic_ios

Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <streambuf>
 
 // template <class charT, class traits = char_traits<charT> >

Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <streambuf>
 
 // template <class charT, class traits = char_traits<charT> >

Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/assign.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <streambuf>
 
 // template <class charT, class traits = char_traits<charT> >

Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/swap.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <streambuf>
 
 // template <class charT, class traits = char_traits<charT> >

Modified: libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/hash.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // template <class charT> class collate_byname

Modified: libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // template <class charT>

Modified: libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.codecvt.byname/ctor_wchar_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.codecvt.byname/ctor_wchar_t.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.codecvt.byname/ctor_wchar_t.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.codecvt.byname/ctor_wchar_t.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // template <> class codecvt_byname<wchar_t, char, mbstate_t>

Modified: libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // template <class CharT>

Modified: libcxx/trunk/test/std/localization/locales/locale/locale.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale/locale.cons/default.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale/locale.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale/locale.cons/default.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // locale() throw();

Modified: libcxx/trunk/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp Thu Jan 21 09:35:15 2016
@@ -6,7 +6,8 @@
 // Source Licenses. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
-
+ 
+// REQUIRES: locale.en_US.UTF-8
 // REQUIRES: locale.ru_RU.UTF-8
 // UNSUPPORTED: sanitizer-new-delete
 

Modified: libcxx/trunk/test/std/localization/locales/locale/locale.members/name.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale/locale.members/name.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale/locale.members/name.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale/locale.members/name.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // basic_string<char> name() const;

Modified: libcxx/trunk/test/std/localization/locales/locale/locale.operators/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale/locale.operators/eq.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale/locale.operators/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale/locale.operators/eq.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // basic_string<char> name() const;

Modified: libcxx/trunk/test/std/localization/locales/locale/locale.statics/global.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale/locale.statics/global.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale/locale.statics/global.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale/locale.statics/global.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <locale>
 
 // static const locale& classic();

Modified: libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.regex/re.regex.locale/imbue.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <regex>
 
 // template <class charT, class traits = regex_traits<charT>> class basic_regex;

Modified: libcxx/trunk/test/std/re/re.traits/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/default.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/default.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/default.pass.cpp Thu Jan 21 09:35:15 2016
@@ -8,6 +8,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <regex>
 
 // template <class charT> struct regex_traits;

Modified: libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/getloc.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <regex>
 
 // template <class charT> struct regex_traits;

Modified: libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp?rev=258403&r1=258402&r2=258403&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.traits/imbue.pass.cpp Thu Jan 21 09:35:15 2016
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: locale.en_US.UTF-8
+
 // <regex>
 
 // template <class charT> struct regex_traits;




More information about the cfe-commits mailing list