Flaky kcodecs test depending on qt configuration

Sune Vuorela nospam at vuorela.dk
Wed Oct 23 21:43:59 UTC 2013


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.

Other suggestions?

/Sune



More information about the Kde-frameworks-devel mailing list