aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-02-12 12:16:37 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-02-13 11:44:34 +0100
commitee644e4596db7ae4c4e8044175996d96f3f249dc (patch)
tree8030cf413a86f39ee7827ea1001c02fbe00aef3d /tests/auto/auto.pro
parent1c4bb6677e390e38cc8bea3d4fc14d03b7dd26ba (diff)
Make internal unit tests optional.
The respective code will not be compiled into the library unless "all_tests" is added to the qmake CONFIG variable. Change-Id: I45ab29666e3ce55baa4c83b3f4e1821258ba1b64 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index cb9058681..162382a29 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,8 +1,13 @@
TEMPLATE=subdirs
CONFIG += ordered
-SUBDIRS = \
- buildgraph \
+
+all_tests {
+ SUBDIRS += \
+ buildgraph \
+ language \
+ tools \
+}
+
+SUBDIRS += \
cmdlineparser \
- language \
- tools \
blackbox