Fix QThreadstorage test.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Mon, 27 Feb 2012 10:09:27 +0000 (11:09 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 27 Feb 2012 17:33:50 +0000 (18:33 +0100)
commited8d8451c4174d9f200445c8476a9216be51af70
tree87f5830e28b04ecddfded2da2aa9881166bf3209
parent5a0eb4e768435b9ce32b074e620fca33be4df2fb
Fix QThreadstorage test.

- Create subdirectories containing profiles to avoid
  problems with -fast.
- Use QFINDTESTDATA to locate binary.
- Make it a console application, no Mac-bundle.
- Add error messages to the test, give it a longer time-out
  and ensure sub-process is killed if it hangs.

Change-Id: Ibc177b786c4bc8fdbc068a8c45f4801a41c9f660
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
tests/auto/corelib/thread/qthreadstorage/crashOnExit.pro [deleted file]
tests/auto/corelib/thread/qthreadstorage/crashonexit/crashOnExit.cpp [moved from tests/auto/corelib/thread/qthreadstorage/crashOnExit.cpp with 100% similarity]
tests/auto/corelib/thread/qthreadstorage/crashonexit/crashonexit.pro [new file with mode: 0644]
tests/auto/corelib/thread/qthreadstorage/qthreadstorage.pro
tests/auto/corelib/thread/qthreadstorage/test/test.pro [new file with mode: 0644]
tests/auto/corelib/thread/qthreadstorage/tst_qthreadstorage.cpp
tests/auto/corelib/thread/qthreadstorage/tst_qthreadstorage.pro [deleted file]