summaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 6bbed56e2f..bb4de3e2b3 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -18,10 +18,12 @@ qtHaveModule(dbus):!cross_compile:!boot2qt {
system("dbus-send --session --type=signal / local.AutotestCheck.Hello >$$QMAKE_SYSTEM_NULL_DEVICE 2>&1") {
SUBDIRS += dbus
} else {
- qtConfig(dbus-linked): \
- error("QtDBus is enabled but session bus is not available. Please check the installation.")
- else: \
+ qtConfig(dbus-linked) {
+ warning("QtDBus is enabled but session bus is not available. QtDBus tests will fail.")
+ SUBDIRS += dbus
+ } else: {
warning("QtDBus is enabled with runtime support, but session bus is not available. Skipping QtDBus tests.")
+ }
}
}
qtHaveModule(gui): SUBDIRS += gui