aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/declarative.pro
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-12 15:44:20 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-14 01:42:47 +0200
commit5f7c22001163eb4bce25be1cfee4e84c5a25ff09 (patch)
tree63fa7f5c8c7ee8432992ad4d60dda271a69f87c6 /tests/auto/declarative/declarative.pro
parent2696c43633c79b83979579df22efe4235f630d86 (diff)
Don't build empty tests.
These tests need the xmlpatterns module. If that module is not in the Qt build, then avoid building the test rather than building an empty test. Change-Id: Id0f72cfc9f818096361ecbc439196d2d5c64322e Reviewed-on: http://codereview.qt-project.org/6487 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/declarative/declarative.pro')
-rw-r--r--tests/auto/declarative/declarative.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/declarative.pro b/tests/auto/declarative/declarative.pro
index a6bbd679b9..6e14648943 100644
--- a/tests/auto/declarative/declarative.pro
+++ b/tests/auto/declarative/declarative.pro
@@ -60,6 +60,9 @@ PRIVATETESTS += \
qpacketprotocol \
v4
+# This test requires the xmlpatterns module
+!contains(QT_CONFIG,xmlpatterns):PRIVATETESTS -= qdeclarativexmllistmodel
+
SGTESTS = \
qsganimatedimage \
qsgborderimage \