This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XFAILing V3 tests.


Mark Mitchell <mark at codesourcery dot com> writes:

> There seem to be a lot of V3 tests that fail all the time; most of these
> have wchar_t in their names.  I assume these fail only on some systems.
>
> Would one of the V3 volunteers be so kind as to XFAIL these tests?   There
> is no way to see the forest for the trees otherwise; on my system I get 69
> failures, which means that if I add one more I will never see it.

You probably don't have enough locales installed.  This is the list I
worked out by trial and error:

de_DE ISO-8859-1
de_DE at euro ISO-8859-15
en_HK ISO-8859-1
en_PH ISO-8859-1
en_US ISO-8859-1
en_US.UTF-8 UTF-8
en_US.ISO-8859-15 ISO-8859-15
es_MX ISO-8859-1
fr_FR at euro ISO-8859-15
it_IT ISO-8859-1
ja_JP.EUC-JP EUC-JP

On a Debian system, splat that list into /etc/locale-gen and run
/usr/sbin/locale-gen; libstdc++ test results should then be

                === libstdc++-v3 tests ===
FAIL: 24_iterators/iterator.cc execution test

                === libstdc++-v3 Summary ===
# of expected passes            1200
# of unexpected failures        1
# of expected failures          2

I have no idea how to do that on other operating systems, or even other
Linux distributions.

I remember a patch going by that would suppress failures of these
tests owing to the sysadmin not having set up enough locales, but
I don't know if it got applied.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]