summaryrefslogtreecommitdiffstats
path: root/qtqa.pro
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-05-12 08:50:14 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-12 12:35:47 +1000
commit39db6807b1b692927583215106777ecfe10a538f (patch)
treef17c35b4e5b9cf228028607aa205401dd6c5906d /qtqa.pro
parent858f0fdb813985fc2868f2a3511103902e69eb2d (diff)
tests: allow autotests to be disabled for qtqa
Previously, these were always enabled. For consistency with other Qt modules, allow `-nomake tests' to be used for qtqa also. Currently the qtqa module consists _only_ of tests, so nothing at all will be built in the `-nomake tests' case. Reviewed-by: Jason McDonald Change-Id: I1ac74a09e7c7f49091d062e981b0e8a6f9fcb84b
Diffstat (limited to 'qtqa.pro')
-rw-r--r--qtqa.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/qtqa.pro b/qtqa.pro
index 15af883a..e7e0df30 100644
--- a/qtqa.pro
+++ b/qtqa.pro
@@ -1,2 +1,7 @@
TEMPLATE = subdirs
-SUBDIRS += tests
+
+tests.subdir = tests
+tests.CONFIG = no_default_install
+!contains(QT_BUILD_PARTS,tests):tests.CONFIG += no_default_target
+
+SUBDIRS += tests