summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsdiagnosticsts
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-02-16 05:34:50 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-02-17 06:12:08 (GMT)
commit2d67f6efc47986e8f6d69943f0986d18ae2ced96 (patch)
tree42b8e16e73c021ffabba0b82b12f0f533ce8aa11 /tests/auto/xmlpatternsdiagnosticsts
parent0cdf33e9acb00b8f3654e8268253a3fb7c5db92c (diff)
downloadQt-2d67f6efc47986e8f6d69943f0986d18ae2ced96.zip
Qt-2d67f6efc47986e8f6d69943f0986d18ae2ced96.tar.gz
Qt-2d67f6efc47986e8f6d69943f0986d18ae2ced96.tar.bz2
Fixed compile of xmlpatterns tests with vcproj generator.
These tests were adding the same SUBDIR multiple times from different projects. Don't do that.
Diffstat (limited to 'tests/auto/xmlpatternsdiagnosticsts')
-rw-r--r--tests/auto/xmlpatternsdiagnosticsts/test/test.pro32
-rw-r--r--tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp (renamed from tests/auto/xmlpatternsdiagnosticsts/test/tst_xmlpatternsdiagnosticsts.cpp)0
-rw-r--r--tests/auto/xmlpatternsdiagnosticsts/xmlpatternsdiagnosticsts.pro30
3 files changed, 26 insertions, 36 deletions
diff --git a/tests/auto/xmlpatternsdiagnosticsts/test/test.pro b/tests/auto/xmlpatternsdiagnosticsts/test/test.pro
deleted file mode 100644
index acd71e4..0000000
--- a/tests/auto/xmlpatternsdiagnosticsts/test/test.pro
+++ /dev/null
@@ -1,32 +0,0 @@
-load(qttest_p4)
-SOURCES += tst_xmlpatternsdiagnosticsts.cpp \
- ../../qxmlquery/TestFundament.cpp
-
-include (../../xmlpatterns.pri)
-
-TARGET = tst_xmlpatternsdiagnosticsts
-DESTDIR = ..
-win32 {
- CONFIG(debug, debug|release): DESTDIR = ../debug
- else: DESTDIR = ../release
-}
-
-contains(QT_CONFIG, xmlpatterns) {
-HEADERS += ../../xmlpatternsxqts/test/tst_suitetest.h
-SOURCES += ../../xmlpatternsxqts/test/tst_suitetest.cpp
-LIBS += -l$$XMLPATTERNS_SDK
-}
-
-QT += xml
-
-INCLUDEPATH += $$(QTSRCDIR)/tests/auto/xmlpatternsxqts/lib/ \
- $$(QTDIR)/include/QtXmlPatterns/private \
- $$(QTSRCDIR)/tests/auto/xmlpatternsxqts/test \
- ../../xmlpatternsxqts/test \
- ../../xmlpatternsxqts/lib
-
-wince*|symbian {
- catalog.sources = ../TestSuite ../Baseline.xml
- catalog.path = .
- DEPLOYMENT += catalog
-}
diff --git a/tests/auto/xmlpatternsdiagnosticsts/test/tst_xmlpatternsdiagnosticsts.cpp b/tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp
index 4a11404..4a11404 100644
--- a/tests/auto/xmlpatternsdiagnosticsts/test/tst_xmlpatternsdiagnosticsts.cpp
+++ b/tests/auto/xmlpatternsdiagnosticsts/tst_xmlpatternsdiagnosticsts.cpp
diff --git a/tests/auto/xmlpatternsdiagnosticsts/xmlpatternsdiagnosticsts.pro b/tests/auto/xmlpatternsdiagnosticsts/xmlpatternsdiagnosticsts.pro
index 3d82eaf..981adab 100644
--- a/tests/auto/xmlpatternsdiagnosticsts/xmlpatternsdiagnosticsts.pro
+++ b/tests/auto/xmlpatternsdiagnosticsts/xmlpatternsdiagnosticsts.pro
@@ -1,5 +1,27 @@
-TEMPLATE = subdirs
-CONFIG += ordered
+load(qttest_p4)
+SOURCES += tst_xmlpatternsdiagnosticsts.cpp \
+ ../qxmlquery/TestFundament.cpp
-SUBDIRS = ../xmlpatternsxqts test
-requires(contains(QT_CONFIG,private_tests))
+include (../xmlpatterns.pri)
+
+TARGET = tst_xmlpatternsdiagnosticsts
+
+contains(QT_CONFIG, xmlpatterns) {
+HEADERS += ../xmlpatternsxqts/tst_suitetest.h
+SOURCES += ../xmlpatternsxqts/tst_suitetest.cpp
+LIBS += -l$$XMLPATTERNS_SDK
+}
+
+QT += xml
+
+INCLUDEPATH += $$(QTSRCDIR)/tests/auto/xmlpatternssdk \
+ $$(QTDIR)/include/QtXmlPatterns/private \
+ $$(QTSRCDIR)/tests/auto/xmlpatternsxqts \
+ ../xmlpatternsxqts \
+ ../xmlpatternssdk
+
+wince*|symbian {
+ catalog.sources = TestSuite Baseline.xml
+ catalog.path = .
+ DEPLOYMENT += catalog
+}