Fix qlogging test for release configuration
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
Thu, 16 Feb 2012 12:20:57 +0000 (14:20 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Feb 2012 04:26:58 +0000 (05:26 +0100)
commit7c081ba94239e26f4e5c8b8c8a8c3486d1a8c76e
tree094ed6518ad4c2222ce6dd07d2a63ed3e55b3f11
parent3b5f6f76471118e60ee9c9b8536d6b4fba1e785d
Fix qlogging test for release configuration

The helper process 'app' wasn't built in release configuration.

Also improved finding the helper executable to utilize
QFINDTESTDATA and print out a proper errors if it could not be
found or started.

Note that adding ".exe" to process name in Windows is unnecessary
as QProcess already does that for you, so removed the ifdeffing.

Task-number: QTBUG-24330
Change-Id: Ibe75e0ecd24181ab623d0a60f17ecaf92052b0dd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
tests/auto/corelib/global/qlogging/app/app.pro
tests/auto/corelib/global/qlogging/tst_qlogging.cpp