[libcxx] r216151 - Mark some localization time tests as XFAIL on linux.

Eric Fiselier eric at efcs.ca
Wed Aug 20 19:38:21 PDT 2014


Author: ericwf
Date: Wed Aug 20 21:38:21 2014
New Revision: 216151

URL: http://llvm.org/viewvc/llvm-project?rev=216151&view=rev
Log:
Mark some localization time tests as XFAIL on linux.

This marks some of the localization test XFAIL on linux.
There has been some discussion on D4861 about doing this.
Please let me know if any of these tests for you on linux.

Modified:
    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

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=216151&r1=216150&r2=216151&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 Wed Aug 20 21:38:21 2014
@@ -12,6 +12,10 @@
 // REQUIRES: locale.ru_RU.UTF-8
 // REQUIRES: locale.zh_CN.UTF-8
 
+// GLIBC Expects "10/06/2009" for fr_FR as opposed to "10.06.2009"
+// GLIBC also failes on the zh_CN test.
+// XFAIL: linux
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>
@@ -79,6 +83,7 @@ int main()
         assert(t.tm_year == 109);
         assert(err == std::ios_base::eofbit);
     }
+
     {
         const my_facet f(LOCALE_zh_CN_UTF_8, 1);
         const char in[] = "2009/06/10";

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=216151&r1=216150&r2=216151&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 Wed Aug 20 21:38:21 2014
@@ -12,6 +12,10 @@
 // REQUIRES: locale.ru_RU.UTF-8
 // REQUIRES: locale.zh_CN.UTF-8
 
+// GLIBC Expects "10/06/2009" for fr_FR as opposed to "10.06.2009"
+// GLIBC also failes on the zh_CN test.
+// XFAIL: linux
+
 // <locale>
 
 // class time_get_byname<charT, InputIterator>





More information about the cfe-commits mailing list