summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-01-16 11:00:30 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-22 12:35:17 +0100
commitb2f8a70890868f344499d5c8f62454922bc0f371 (patch)
tree4e80b1e12bb472f013b83ed506dc9831727cf244 /tests
parent7ddd813b7f4a7c68047f4296247ddf7f277582b7 (diff)
iOS: Enable building of basic tests
Allows us to sanity check the iOS build in the CI. Change-Id: I16f9bfafef3988dcab6efd3155503ca0d0b4d1d8 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/auto.pro2
-rw-r--r--tests/auto/corelib/corelib.pro8
-rw-r--r--tests/auto/gui/gui.pro7
-rw-r--r--tests/tests.pro2
4 files changed, 13 insertions, 6 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 3ff78a955f..a9aecc9448 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -19,6 +19,8 @@ SUBDIRS += \
installed_cmake.depends = cmake
+ios: SUBDIRS = corelib gui
+
wince*: SUBDIRS -= printsupport
cross_compile: SUBDIRS -= tools
!qtHaveModule(opengl): SUBDIRS -= opengl
diff --git a/tests/auto/corelib/corelib.pro b/tests/auto/corelib/corelib.pro
index a85a385f80..4d88b04828 100644
--- a/tests/auto/corelib/corelib.pro
+++ b/tests/auto/corelib/corelib.pro
@@ -1,16 +1,18 @@
TEMPLATE=subdirs
-SUBDIRS=\
+
+SUBDIRS = \
+ kernel
+
+!ios: SUBDIRS += \
animation \
codecs \
global \
io \
itemmodels \
json \
- kernel \
mimetypes \
plugin \
statemachine \
thread \
tools \
xml
-
diff --git a/tests/auto/gui/gui.pro b/tests/auto/gui/gui.pro
index b6c55c5eaa..d250e45a4e 100644
--- a/tests/auto/gui/gui.pro
+++ b/tests/auto/gui/gui.pro
@@ -1,7 +1,10 @@
TEMPLATE=subdirs
-SUBDIRS=\
+
+SUBDIRS = \
+ kernel
+
+!ios: SUBDIRS += \
image \
- kernel \
math3d \
painting \
qopengl \
diff --git a/tests/tests.pro b/tests/tests.pro
index 0f50930774..79bee02b65 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -4,4 +4,4 @@ SUBDIRS = auto
# benchmarks in debug mode is rarely sensible
# benchmarks are not sensible for code coverage (here with tool testcocoon)
-!testcocoon:contains(QT_CONFIG,release):SUBDIRS += benchmarks
+!ios:!testcocoon:contains(QT_CONFIG,release):SUBDIRS += benchmarks