Flaky kcodecs test depending on qt configuration

Sune Vuorela nospam at vuorela.dk
Fri Nov 1 09:01:19 UTC 2013


On 2013-11-01, David Faure <faure at kde.org> wrote:
> On Wednesday 23 October 2013 21:43:59 Sune Vuorela wrote:
>> Hi
>> 
>> Depending on the Qt configuration (built with or without ICU), the
>> KCharsetsTest::testEncodingNames() test fails (in the #if) block.
>> 
>> If Qt built with ICU, the tests succeeds and the ISO 8859-16, jis7 and
>> winsami2 codecs are as expected not found.
>> 
>> If Qt is built without ICU, those codecs are found, and the test that
>> expects them to not be there fails.
>> 
>> There doesn't seem to be api to check wether or not ICU is available for
>> QTextCodec.
>> 
>> One solution could be to just skip finding those 3 codecs in all cases.
>
> Yes. It's a Qt bug or possibly an ICU bug, but it's not of significant 
> importance.

I've skipped the tests for those 3  codecs.

/Sune



More information about the Kde-frameworks-devel mailing list