Re: test failures on http://ci-logs.kde.flaska.net

2016-01-03 Thread Jan Kundrát

And indeed the value of XDG_DATA_DIRS in
http://ci-logs.kde.flaska.net/7f/7f50569d59eabc20897f54fb97483bd7f8b89d63/rebuilddep/rebuilddep-kf5-qt55-clang-el7/3cef5be/shell_output.log
is long and messy and has /usr/share in front (so it's viewed 
as being "on top of" the kde mimetype file, while it's supposed 
to be the other way around).


Good catch, thanks for debugging this. This was caused by my change to the 
KDE CI scripts, and unfortunately these systemwide locations were being 
pushed for each project in the current project's dependencies rather than 
just once at the very end.


Fixed now, and KIO's tests are once again all green.

Cheers from a rainy Lesvos,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


test failures on http://ci-logs.kde.flaska.net

2016-01-02 Thread David Faure
On Saturday 07 November 2015 21:42:33 Jan Kundrát wrote:
> 
> > Can you the value of 
> > QMimeDatabase().mimeTypeForName("text/plain").preferredSuffix()
> > on your system? Here's it's "txt", I suspect it's "doc" on your 
> > system. Not sure why yet
> > though, but let's first check that.

Ah, I found the issue.

2016-01-01 20:36:41,206 [output] FAIL!  : KNewFileMenuTest::test(text file with 
jpeg extension) Compared values are not the same
2016-01-01 20:36:41,206 [output]Actual   (emittedUrl.toLocalFile()): 
"/tmp/knewfilemenutest-oYNW2E/foo.jpg.doc"
2016-01-01 20:36:41,206 [output]Expected (path): 
"/tmp/knewfilemenutest-oYNW2E/foo.jpg.txt"

I can reproduce this if I set XDG_DATA_DIRS to 
/usr/share:/d/kde/inst/kde_frameworks/share:/usr/share
instead of
/d/kde/inst/kde_frameworks/share:/usr/share
(as it normally is on my system).

And indeed the value of XDG_DATA_DIRS in
http://ci-logs.kde.flaska.net/7f/7f50569d59eabc20897f54fb97483bd7f8b89d63/rebuilddep/rebuilddep-kf5-qt55-clang-el7/3cef5be/shell_output.log
is long and messy and has /usr/share in front (so it's viewed as being "on top 
of" the kde mimetype file, while it's supposed to be the other way around).

Can this be fixed in the CI setup?

Thanks.

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel