summaryrefslogtreecommitdiffstats
path: root/tests/auto/qthreadonce
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-10-25 01:26:19 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-12-25 21:10:00 (GMT)
commit45335cba963c41ab73d471ee1c18e37dd6b2a5b8 (patch)
tree5860e44d7e156370257ce3fb92ad9864ed042ece /tests/auto/qthreadonce
parent1ac559f5ea335de5d78bef8d991133b95081a1b7 (diff)
downloadQt-45335cba963c41ab73d471ee1c18e37dd6b2a5b8.zip
Qt-45335cba963c41ab73d471ee1c18e37dd6b2a5b8.tar.gz
Qt-45335cba963c41ab73d471ee1c18e37dd6b2a5b8.tar.bz2
tests: eliminated usage of qttest_p4.prf
qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: If1f16810614f7965dc7d5bf680effed911bee114 Reviewed-by: Jason McDonald
Diffstat (limited to 'tests/auto/qthreadonce')
-rw-r--r--tests/auto/qthreadonce/qthreadonce.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/qthreadonce/qthreadonce.pro b/tests/auto/qthreadonce/qthreadonce.pro
index d7ef4d4..cd97917 100644
--- a/tests/auto/qthreadonce/qthreadonce.pro
+++ b/tests/auto/qthreadonce/qthreadonce.pro
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qthreadonce
SOURCES += tst_qthreadonce.cpp
-QT = core
+QT = core testlib
# Don't use gcc's threadsafe statics
# Note: some versions of gcc generate invalid code with this option...