[Kde-pim] akonadi-4.3.1 failing tests with no X server connection

Volker Krause vkrause at kde.org
Wed Sep 23 07:29:10 BST 2009


On Monday 21 September 2009 18:22:07 Dominik Kapusta wrote:
> we at Gentoo have received a bug report some time ago, regarding 2 akonadi
> tests failing during test phase of installation:
>
> http://bugs.gentoo.org/284009
>
> It appears that for DescendantEntitiesProxyModelTest and
> SelectionProxyModelTest the QTEST_KDEMAIN macro is used, which requires a
> connection to X server to be available (by instantiating QApplication
> class).
>
> In Gentoo the "portage" user, that performs the installation doesn't have a
> connection to X server by default, so that's why tests fail (by not being
> executed at all). I noticed that changing QTEST_KDEMAIN macros to
> QTEST_KDEMAIN_CORE helps, and these two tests are now executed and both are
> passing. For the record, I'm attaching the patch I used to have things
> working.

looks ok to me

> And by the way, I experience another failure, for which I blame Qt 4.6 that
> I'm using on my system. The CollectionTest fails for me with "Compared
> values are not the same" error. I'm attaching the output from test, where
> one can hardly notice the extra space before the closing angle bracket
> ('name="Inbox"
>
> >' and 'type="ENTITYDISPLAY" >'). So probably the comparison strings should
> > be
>
> different #if QT_VERSION >= 0x040600, but I can't confirm this, since I'm
> too lazy to switch back to Qt 4.5 to check :)

the tests pass for me with Qt 4.5, so this is indeed the likely cause for the 
difference, feel free to add the additional comparison string for 4.6.

regards
Volker

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090923/f2f57e5e/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list