aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-03-29 10:27:15 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-03-30 06:18:34 +0000
commit44900962268c50aa1f9823e71d5b75cfa9e7ea4f (patch)
tree88c2aadf9d8535fb73998b4eaa1f8e3deb9f1aec
parent4a6e072d6c7591ee58b56e3d6a2128e814c94848 (diff)
Restrict automated tests on Boot2Qt to non-graphical tests
This allows us to enable running of some of the tests in the CI and gives us test coverage for some important architecture specific aspects of the engine. Graphical tests are omitted at the moment as well as a few other tests (such as ES6 suite), that will be added incrementally. This change is just an enabler. Once in place tests can be enabled in qt5.git's platform_configs. Change-Id: I9179aaf1fe12f4423833379b97d16b711c57f39b Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--tests/auto/auto.pro3
-rw-r--r--tests/auto/qml/qml.pro20
2 files changed, 17 insertions, 6 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 1e80f1bf65..f9c1fcce91 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -18,4 +18,7 @@ qtHaveModule(gui):qtConfig(opengl(es1|es2)?) {
# console applications not supported
uikit: SUBDIRS -= qmltest
+# Restricted sub-set for now
+boot2qt: SUBDIRS = qml
+
installed_cmake.depends = cmake
diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro
index a9b18e9f32..007eb0dc83 100644
--- a/tests/auto/qml/qml.pro
+++ b/tests/auto/qml/qml.pro
@@ -7,6 +7,9 @@ PUBLICTESTS += \
parserstress \
qjsvalueiterator \
qjsonbinding \
+
+!boot2qt {
+PUBLICTESTS += \
qmlmin \
qqmlcomponent \
qqmlconsole \
@@ -25,15 +28,21 @@ PUBLICTESTS += \
qquickfolderlistmodel \
qqmlapplicationengine \
qqmlsettings \
- qqmlstatemachine
+ qqmlstatemachine \
+ qmldiskcache
+}
PRIVATETESTS += \
- animation \
qqmlcpputils \
+ qqmldirparser \
+ v4misc \
+
+!boot2qt {
+PRIVATETESTS += \
+ animation \
qqmlecmascript \
qqmlcontext \
qqmlexpression \
- qqmldirparser \
qqmlglobal \
qqmllanguage \
qqmlopenmetaobject \
@@ -57,13 +66,12 @@ PRIVATETESTS += \
qqmltimer \
qqmlinstantiator \
qqmlenginecleanup \
- v4misc \
qqmltranslation \
qqmlimport \
qqmlobjectmodel \
- qmldiskcache \
qv4mm \
ecmascripttests
+}
qtHaveModule(widgets) {
PUBLICTESTS += \
@@ -73,7 +81,7 @@ qtHaveModule(widgets) {
SUBDIRS += $$PUBLICTESTS
SUBDIRS += $$METATYPETESTS
-qtConfig(process) {
+qtConfig(process):!boot2qt {
!contains(QT_CONFIG, no-qml-debug): SUBDIRS += debugger
SUBDIRS += qmllint qmlplugindump
}