summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts
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/xmlpatternsxqts
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/xmlpatternsxqts')
-rw-r--r--tests/auto/xmlpatternsxqts/xmlpatternsxqts.pro9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/auto/xmlpatternsxqts/xmlpatternsxqts.pro b/tests/auto/xmlpatternsxqts/xmlpatternsxqts.pro
index 0ced633..3187999 100644
--- a/tests/auto/xmlpatternsxqts/xmlpatternsxqts.pro
+++ b/tests/auto/xmlpatternsxqts/xmlpatternsxqts.pro
@@ -1,4 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+
+TARGET = tst_xmlpatternsxqts
+QT += xml testlib
SOURCES += tst_xmlpatternsxqts.cpp ../qxmlquery/TestFundament.cpp tst_suitetest.cpp
include(../xmlpatterns.pri)
@@ -16,8 +19,4 @@ INCLUDEPATH += $$(QTDIR)/include/QtXmlPatterns/private \
$$(QTDIR)/tools/xmlpatterns \
../xmlpatternssdk/
-CONFIG += testlib
-QT += xml
-TARGET = tst_xmlpatternsxqts
-
requires(contains(QT_CONFIG,private_tests))