Jenkins-kde-ci: plasma-framework master stable-kf5-qt5 » Linux, All, gcc - Build # 44 - Still Unstable!
David Faure
faure at kde.org
Mon May 16 10:31:07 UTC 2016
On Saturday, May 14, 2016 10:52:16 AM CEST no-reply at kde.org wrote:
> GENERAL INFO
>
> BUILD UNSTABLE
> Build URL:
> https://build.kde.org/job/plasma-framework%20master%20stable-kf5-qt5/
PLATFORM=Linux,Variation=All,compiler=gcc/44/ Project:
> PLATFORM=Linux,Variation=All,compiler=gcc
> Date of build: Sat, 14 May 2016 10:44:59 +0000
> Build duration: 6 min 19 sec
>
> Total: 14 test(s)Failed: TestSuite.plasma-themetest
FAIL! : ThemeTest::loadSvgIcon() 'm_svg->isValid()' returned FALSE. ()
Loc: [/home/jenkins/sources/plasma-framework/kf5-qt5/autotests/
themetest.cpp(77)]
Can someone take a look? Can more precise checks be added before the QVERIFY
to ease debugging when this fails?
At least a QVERIFY2(QFile::exists(iconPath), qPrintable(iconPath)) would be
good, right? But what if iconTheme is null? Then for sure iconPath is empty...
void ThemeTest::loadSvgIcon()
{
const auto *iconTheme = KIconLoader::global()->theme();
QString iconPath;
if (iconTheme) {
iconPath = iconTheme->iconPath(QLatin1String("konversation.svg"), 48,
KIconLoader::MatchBest);
}
m_svg->setImagePath(iconPath);
QVERIFY(m_svg->isValid());
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5
More information about the Kde-frameworks-devel
mailing list