SUMMARY NaturalCompareTest fails with Qt 5.12.2 for Ubuntu autopkgtests. Passes against Qt 5.11.3 Ubuntu 19.04 Qt 5.12.2 Frameworks 5.56 http://autopkgtest.ubuntu.com/packages/k/kdelibs4support/disco/amd64 35/37 Test #35: naturalcomparetest .......................***Failed 0.03 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-ubuntu' ********* Start testing of NaturalCompareTest ********* Config: Using QtTest library 5.12.2, Qt 5.12.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.3.0) PASS : NaturalCompareTest::initTestCase() FAIL! : NaturalCompareTest::naturalCompare() Compared values are not the same Actual (KStringHandler::naturalCompare("A", "a", Qt::CaseSensitive)): -1 Expected (QString::localeAwareCompare("A", "a")) : -32 Loc: [/tmp/autopkgtest.W3Zwtz/build.L9V/src/autotests/naturalcomparetest.cpp(41)] PASS : NaturalCompareTest::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 0ms ********* Finished testing of NaturalCompareTest *********
Looks like KDE's test may have to adapt to changes in Qt 5.12.2 similar to https://bugreports.qt.io/browse/QTBUG-73116