summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-11-22 17:17:59 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-01-27 13:09:40 +0000
commita3ff42ade673a3f5f36d3b945df6a3bbc1eae92a (patch)
tree4556b5730edb895f35d87790ae8f19a4bb37e6c3 /tests
parentb714219fea567ff4ad7d84972704dbed8f5b4cf3 (diff)
Relax rules about not having dbus session
Some desktops do not run dbus session and still want to build qt. Change-Id: I898a3c25c9b47c1a953e426873280ab9e160c669 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index c03838bee1..64996503eb 100644
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -10,9 +10,13 @@ if (QT_FEATURE_dbus)
if(NOT "${dbus_session_test}" STREQUAL "0")
set(run_dbus_tests OFF)
if(QT_FEATURE_dbus_linked)
- message(SEND_ERROR "QtDBus is enabled but session bus is not available for testing. Please check the installation.")
+ message(WARNING
+ " QtDBus is enabled but session bus is not available for testing.\n"
+ " Please check the installation. Skipping QtDBus tests.")
else()
- message(WARNING "QtDBus is enabled with runtime support, but session bus is not available. Skipping QtDBus tests.")
+ message(WARNING
+ " QtDBus is enabled with runtime support, but session bus is not available.\n"
+ " Skipping QtDBus tests.")
endif()
endif()
endif()