make test failures
David Faure
faure at kde.org
Thu May 23 18:42:30 UTC 2013
On Thursday 23 May 2013 09:53:53 Kurt Hindenburg wrote:
> Hello, I'm running a VM built from lubuntu with no Qt4/KDE4 installed.
>
> One change I had to make was to the plugin variable to add the
> i386-linux-gnu part.
> /home/kurthindenburg/kf5/kde_frameworks/lib/i386-linux-gnu/plugins:/home/ku
> rthindenburg/kf5/qt5/plugins:
Alex or Steve? This weird LIB_INSTALL_DIR value seems to come from
GNUInstallDirs? There's a comment about multiarch in there, so I suppose it's
expected...
> (mimePatterns.join(";")): *,v;*.asc;*.doc;*.inf;*.ini;*.txt Expected
> (expectedPatterns.join(";")): *,v;*.asc;*.doc;*.txt
You seem to have other things than freedesktop.org.xml in
/usr/share/mime/packages, and it defines additional stuff that the test is not
expecting.
I'm curious, what does `grep -rw inf /usr/share/mime/packages/` return for
you?
(Try removing the package containing that file, if you don't need it?)
I solved that in Qt itself by requiring a local copy of shared-mime-info (and
skipping the test if it's not there). But I'm too lazy to port this
kde4support test to the same solution :)
> FAIL! : KStandarddirsTest::testResourceDirs() 'dir.endsWith("xdg/") ||
> dir.endsWith("share/config/") ||
> dir.endsWith(".kde-unit-test/xdg/config/")' returned FALSE.
> (/etc/xdg/lubuntu/) Loc:
> [/home/kurthindenburg/kf5/src/5/kdelibs-frameworks/staging/kde4support/auto
> tests/kstandarddirstest.cpp(89)]
Strange XDG_CONFIG_DIRS value. Fixed.
> FAIL! : KStandarddirsTest::testFindExe() '!kioslave.isEmpty()' returned
> FALSE. () Loc:
> [/home/kurthindenburg/kf5/src/5/kdelibs-frameworks/staging/kde4support/auto
> tests/kstandarddirstest.cpp(287)]
This seems to be a side-effect of the multiarch issue.
In the toplevel builddir for kdelibs, `grep kioslave install_manifest.txt`
does it say lib/kde5/libexec/kioslave or lib/i386-linux-
gnu/kde5/libexec/kioslave
> FAIL! : KFileItemTest::testMimeTypeOnDemand() 'fileItem.isMimeTypeKnown()'
> returned FALSE. () Loc:
Hmm, I think that's another side effect of the mimetype pollution (multiple
associations for *.txt).
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5
More information about the Kde-frameworks-devel
mailing list