summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextstream
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-12-28 19:59:35 (GMT)
committerQt by Nokia <qt-info@nokia.com>2011-12-29 13:56:39 (GMT)
commit5991bc3b3b7c638592ec5e7060e467f4838201d8 (patch)
treea1a77adcdf1075860c4e30d11d7f3a0eb5f24ff9 /tests/auto/qtextstream
parentf80d04ea96a52090e939a53779aa04d4bd174f24 (diff)
downloadQt-5991bc3b3b7c638592ec5e7060e467f4838201d8.zip
Qt-5991bc3b3b7c638592ec5e7060e467f4838201d8.tar.gz
Qt-5991bc3b3b7c638592ec5e7060e467f4838201d8.tar.bz2
tests: eliminated usage of qttest_p4.prf [part 2]
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: I8a0bed9161ea9ac010ef3269f2e9baed7bbc2f41 Reviewed-by: Rohan McGovern Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests/auto/qtextstream')
-rw-r--r--tests/auto/qtextstream/test/test.pro9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/auto/qtextstream/test/test.pro b/tests/auto/qtextstream/test/test.pro
index 8805fb9..54378c8 100644
--- a/tests/auto/qtextstream/test/test.pro
+++ b/tests/auto/qtextstream/test/test.pro
@@ -1,12 +1,13 @@
-load(qttest_p4)
-SOURCES += ../tst_qtextstream.cpp
+CONFIG += testcase
TARGET = ../tst_qtextstream
+QT = core network testlib
+SOURCES += ../tst_qtextstream.cpp
win32 {
CONFIG(debug, debug|release) {
TARGET = ../../debug/tst_qtextstream
-} else {
+ } else {
TARGET = ../../release/tst_qtextstream
}
}
@@ -14,8 +15,6 @@ win32 {
RESOURCES += ../qtextstream.qrc
contains(QT_CONFIG, qt3support):QT += qt3support
-QT = core network
-
wince*|symbian: {
addFiles.files = ../rfc3261.txt ../shift-jis.txt ../task113817.txt ../qtextstream.qrc ../tst_qtextstream.cpp