Fixed installation of corelib tests
authorRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 24 Nov 2011 00:36:10 +0000 (10:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Dec 2011 08:12:52 +0000 (09:12 +0100)
commit3385fb91e1e55e1bfa1f78dfb8ce2e9f3fdaedef
treeb77bb527bf3a21dc95a317248b2640c73751f629
parent13eba9ddf47d570fc4562c20fcfbacd1dfa4a61a
Fixed installation of corelib tests

In .pro files, removed wince/symbian-specific DEPLOYMENT cases and
replaced them with TESTDATA where appropriate.

In .cpp files, removed SRCDIR and relative paths to testdata and
replaced them with the QFINDTESTDATA macro where appropriate.

Modified test helper apps/libs to install themselves under the test
they relate to.

This change allows corelib tests to be correctly installed, along with
their testdata, via `make install'.

Change-Id: I5e202e2f3b577af7e39072d5c9fe13e0ca125304
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
84 files changed:
tests/auto/corelib/codecs/qtextcodec/test/test.pro
tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
tests/auto/corelib/io/qdatastream/qdatastream.pro
tests/auto/corelib/io/qdatastream/tst_qdatastream.cpp
tests/auto/corelib/io/qdir/qdir.pro
tests/auto/corelib/io/qdir/tst_qdir.cpp
tests/auto/corelib/io/qdiriterator/qdiriterator.pro
tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp
tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro
tests/auto/corelib/io/qfile/test/test.pro
tests/auto/corelib/io/qfile/tst_qfile.cpp
tests/auto/corelib/io/qfileinfo/qfileinfo.pro
tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
tests/auto/corelib/io/qiodevice/qiodevice.pro
tests/auto/corelib/io/qiodevice/tst_qiodevice.cpp
tests/auto/corelib/io/qprocess/fileWriterProcess/fileWriterProcess.pro
tests/auto/corelib/io/qprocess/test/test.pro
tests/auto/corelib/io/qprocess/testDetached/testDetached.pro
tests/auto/corelib/io/qprocess/testExitCodes/testExitCodes.pro
tests/auto/corelib/io/qprocess/testGuiProcess/testGuiProcess.pro
tests/auto/corelib/io/qprocess/testProcessCrash/testProcessCrash.pro
tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/testProcessDeadWhileReading.pro
tests/auto/corelib/io/qprocess/testProcessEOF/testProcessEOF.pro
tests/auto/corelib/io/qprocess/testProcessEcho/testProcessEcho.pro
tests/auto/corelib/io/qprocess/testProcessEcho2/testProcessEcho2.pro
tests/auto/corelib/io/qprocess/testProcessEcho3/testProcessEcho3.pro
tests/auto/corelib/io/qprocess/testProcessEchoGui/testProcessEchoGui.pro
tests/auto/corelib/io/qprocess/testProcessEnvironment/testProcessEnvironment.pro
tests/auto/corelib/io/qprocess/testProcessLoopback/testProcessLoopback.pro
tests/auto/corelib/io/qprocess/testProcessNormal/testProcessNormal.pro
tests/auto/corelib/io/qprocess/testProcessOutput/testProcessOutput.pro
tests/auto/corelib/io/qprocess/testProcessSpacesArgs/nospace.pro
tests/auto/corelib/io/qprocess/testProcessSpacesArgs/onespace.pro
tests/auto/corelib/io/qprocess/testProcessSpacesArgs/twospaces.pro
tests/auto/corelib/io/qprocess/testSetWorkingDirectory/testSetWorkingDirectory.pro
tests/auto/corelib/io/qprocess/testSoftExit/testSoftExit.pro
tests/auto/corelib/io/qprocess/testSpaceInName/testSpaceInName.pro
tests/auto/corelib/io/qprocess/tst_qprocess.cpp
tests/auto/corelib/io/qresourceengine/qresourceengine.pro
tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp
tests/auto/corelib/io/qstandardpaths/qstandardpaths.pro
tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp
tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro
tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp
tests/auto/corelib/io/qtextstream/readAllStdinProcess/readAllStdinProcess.pro
tests/auto/corelib/io/qtextstream/readLineStdinProcess/readLineStdinProcess.pro
tests/auto/corelib/io/qtextstream/stdinProcess/stdinProcess.pro
tests/auto/corelib/io/qtextstream/test/test.pro
tests/auto/corelib/io/qtextstream/tst_qtextstream.cpp
tests/auto/corelib/kernel/qitemmodel/qitemmodel.pro
tests/auto/corelib/kernel/qobject/signalbug.pro
tests/auto/corelib/kernel/qobject/tst_qobject.cpp
tests/auto/corelib/kernel/qobject/tst_qobject.pro
tests/auto/corelib/kernel/qtranslator/qtranslator.pro
tests/auto/corelib/kernel/qtranslator/tst_qtranslator.cpp
tests/auto/corelib/plugin/qlibrary/lib/lib.pro
tests/auto/corelib/plugin/qlibrary/lib2/lib2.pro
tests/auto/corelib/plugin/qlibrary/tst/tst.pro
tests/auto/corelib/plugin/qlibrary/tst_qlibrary.cpp
tests/auto/corelib/plugin/qplugin/tst_qplugin.pro
tests/auto/corelib/plugin/qpluginloader/almostplugin/almostplugin.pro
tests/auto/corelib/plugin/qpluginloader/lib/lib.pro
tests/auto/corelib/plugin/qpluginloader/theplugin/theplugin.pro
tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp
tests/auto/corelib/plugin/quuid/test/test.pro
tests/auto/corelib/plugin/quuid/testProcessUniqueness/testProcessUniqueness.pro
tests/auto/corelib/plugin/quuid/tst_quuid.cpp
tests/auto/corelib/thread/qthreadstorage/crashOnExit.pro
tests/auto/corelib/thread/qthreadstorage/tst_qthreadstorage.cpp
tests/auto/corelib/tools/qbytearray/qbytearray.pro
tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp
tests/auto/corelib/tools/qchar/qchar.pro
tests/auto/corelib/tools/qchar/tst_qchar.cpp
tests/auto/corelib/tools/qelapsedtimer/qelapsedtimer.pro
tests/auto/corelib/tools/qlocale/syslocaleapp/syslocaleapp.pro
tests/auto/corelib/tools/qlocale/test/test.pro
tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
tests/auto/corelib/tools/qsharedpointer/qsharedpointer.pro
tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp
tests/auto/corelib/tools/qtextboundaryfinder/qtextboundaryfinder.pro
tests/auto/corelib/tools/qtextboundaryfinder/tst_qtextboundaryfinder.cpp
tests/auto/corelib/xml/qxmlstream/qxmlstream.pro
tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp