kDebug(somearea) not visible when running a QTest unit test

Pino Toscano pino at kde.org
Sun Sep 13 10:10:20 BST 2009


Hi,

> does somebody know why the kDebug() macro doesn't work when I specify a
> debug-area and even have that enabled in kdebugdialog while running a
> QTest unit test? I see qWarnings, qDebug and also kDebug without a
> debug-area, but when I have a debug-area specified I don't see anything.
> 
> I recall that some time back it was the opposite, i.e. the QTest would
> print out all debug-area info, even if the area's were disabled.
> 
> I'm already using the QTEST_KDEMAIN macro for the test..

Remember that set of macros for tests make the tests use ~/.kde-unit-test as 
KDEHOME, so if you want to configure them you shall use:
$ KDEHOME=$HOME/.kde-unit-test kdebugdialog

-- 
Pino Toscano
-------------- 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-core-devel/attachments/20090913/472a1ec5/attachment.sig>


More information about the kde-core-devel mailing list