summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-08-21 02:38:21 +0000
committerEric Fiselier <eric@efcs.ca>2014-08-21 02:38:21 +0000
commit43e866a13622e33ef838e533c0c544cd503f4621 (patch)
tree5cff1670980ee46996cfaf1cc6ed495b2a5aeebf /libcxx/test
parentdf5efb9a519b6a16e98ff92cb05dce602b934ff2 (diff)
downloadbcm5719-llvm-43e866a13622e33ef838e533c0c544cd503f4621.tar.gz
bcm5719-llvm-43e866a13622e33ef838e533c0c544cd503f4621.zip
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. llvm-svn: 216151
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp5
-rw-r--r--libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp4
2 files changed, 9 insertions, 0 deletions
diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
index 77ee5b36a60..9a06157ada5 100644
--- a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
+++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
@@ -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";
diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
index 7d0034ddb2f..170f33ad981 100644
--- a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
+++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
@@ -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>
OpenPOWER on IntegriCloud