summaryrefslogtreecommitdiffstats
path: root/tests/tests.pro
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-06-24 11:58:59 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-06-24 17:31:29 +0200
commit4272fc8a65e6d5ad6bfe1ea45039a2ac300defb6 (patch)
tree3bee9783dd3faa31670f20457a67033c69c9a63a /tests/tests.pro
parentc6b1dee923e57eab038508fd877e4c1541657256 (diff)
Revert "Make the auto tests available by default."
This reverts commit fca72823ea2a9c627e86d2fb769929999ed6fe43 to speed up compilation on slower systems. It introduces the possibility to set an environment variable or pass BUILDTESTS as argument to qmake to make the tests available. Change-Id: Iab5846473bac2dddbec85b45a7a7ad70552171a4 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'tests/tests.pro')
-rw-r--r--tests/tests.pro21
1 files changed, 2 insertions, 19 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
index fc08c708b..1e8963ed2 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,24 +1,7 @@
CONFIG += ordered
TEMPLATE = subdirs
-SUBDIRS += auto
-EXTRASUBDIRS = \
+SUBDIRS = \
+ auto \
downloadspeed \
environmentvariable
-
-include(../installerfw.pri)
-
-!isEqual(IFW_SOURCE_TREE, $$IFW_BUILD_TREE) {
- for(SUBDIR, EXTRASUBDIRS) {
- mkdir.commands += $$QMAKE_MKDIR $$SUBDIR $${IFW_NEWLINE}
- }
- QMAKE_EXTRA_TARGETS += mkdir
-}
-
-for(SUBDIR, EXTRASUBDIRS) {
- tests.commands += cd $$SUBDIR && $(QMAKE) -r $$PWD/$$SUBDIR && $(MAKE) $${IFW_NEWLINE}
-}
-!isEqual(IFW_SOURCE_TREE, $$IFW_BUILD_TREE) {
- tests.depends = mkdir
-}
-QMAKE_EXTRA_TARGETS *= tests