summaryrefslogtreecommitdiff
path: root/qmake-features
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2017-03-13 01:35:36 +0100
committerRobert Griebl <robert.griebl@pelagicore.com>2017-03-14 13:34:57 +0000
commit3c6fd2120466ac9626efc56cbcceda294846a7fb (patch)
treedefbf845660f8779824732a56c72c91b6130457f /qmake-features
parent9272f9878f41cba0b7bb2800da3cb425567fa1b0 (diff)
downloadqtapplicationmanager-3c6fd2120466ac9626efc56cbcceda294846a7fb.tar.gz
Suppress unnecessary qmake output
Change-Id: I2b3b7958e0c0a64ddaf116da2a3aa5e96a456160 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'qmake-features')
-rw-r--r--qmake-features/am-qml-testcase.prf7
1 files changed, 5 insertions, 2 deletions
diff --git a/qmake-features/am-qml-testcase.prf b/qmake-features/am-qml-testcase.prf
index 83c39ef8..ac97d1fa 100644
--- a/qmake-features/am-qml-testcase.prf
+++ b/qmake-features/am-qml-testcase.prf
@@ -23,7 +23,10 @@ debug_and_release:debug_and_release_target {
COMMAND += $(TESTRUNNER)
# Define how the appman should be run, single-process, multi-process, both
-isEmpty(MODE): MODE = both
+isEmpty(MODE) {
+ MODE = both
+ CONFIG *= qmltest-mode-auto
+}
# Determine the location of the testrunner
prefix_build {
@@ -41,7 +44,7 @@ COMMAND += $$AM_TESTRUNNER_DIR/appman-qmltestrunner -r --no-dlt-logging
mac: COMMAND += --dbus=none
multi-process: COMMAND += --start-session-dbus
!multi-process: {
- message("Overriding mode as application-manager is build in single-process mode")
+ !build_pass:!qmltest-mode-auto:message("am-qml-testcase: forcing MODE to single-process, because application-manager is built in single-process mode")
MODE = single-process
}