Bug 406175 - NaturalCompareTest fails with Qt 5.12.2
Summary: NaturalCompareTest fails with Qt 5.12.2
Status: REPORTED
Alias: None
Product: frameworks-kdelibs4support
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.56.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-03 08:52 UTC by Rik Mills
Modified: 2019-04-03 09:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rik Mills 2019-04-03 08:52:14 UTC
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 *********
Comment 1 Rik Mills 2019-04-03 09:15:01 UTC
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