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
This commit is contained in:
Eric Fiselier 2014-08-21 02:38:21 +00:00
parent df5efb9a51
commit 43e866a136
2 changed files with 9 additions and 0 deletions

View File

@ -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";

View File

@ -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>