Prefer QSKIP to QTEST_NOOP_MAIN.
authorJason McDonald <jason.mcdonald@nokia.com>
Mon, 17 Oct 2011 04:15:17 +0000 (14:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 18 Oct 2011 23:38:36 +0000 (01:38 +0200)
commitd884f24fe1b86bbd71d62584d5cf1381355efe0d
tree919e253c80dc42e7a3d224b8334981a02b5a2671
parentb419e567c028a6cbc2e0c30906426d12f4abc99c
Prefer QSKIP to QTEST_NOOP_MAIN.

There is no way for a .pro file to know if QProcess is in the Qt build,
so the QProcess autotest cannot be omitted from the build if QProcess is
not available.  Because of this limitation, the test was using
QTEST_NOOP_MAIN when QProcess was not available, making the test appear
to pass.  This commit changes QTEST_NOOP_MAIN to QSKIP, so that the user
receives a clear indication that the test isn't testing anything when
QProcess is not available.

Change-Id: I79f667b17ff98dfc47eb61fb977365abef8883fb
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/corelib/io/qprocess/tst_qprocess.cpp