summaryrefslogtreecommitdiff
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-03-30 10:57:37 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-03-31 05:55:55 +0000
commit92122442948db6b706d2ba9ed6269a6daa4086af (patch)
tree8b923276855c0051c266c9f19496016bcd3237db /tests/auto/auto.pro
parent509f77cca28aa3edea5523c5869bae4412ed2ccc (diff)
downloadqtbase-92122442948db6b706d2ba9ed6269a6daa4086af.tar.gz
Fix running of dbus-send on some systems
It was printing the following error: arguments to dbus_validate_bus_name() were incorrect, assertion "name != NULL" failed in file dbus-syntax.c line 248. This is normally a bug in some application using the D-Bus library. Change-Id: Iee8cbc07c4434ce9b560ffff13d0586189ba3a79 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 01952aac3c..a46b8af4ff 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -32,7 +32,7 @@ cross_compile: SUBDIRS -= tools
# Disable the QtDBus tests if we can't connect to the session bus
qtHaveModule(dbus) {
- !system("dbus-send --type=signal / local.AutotestCheck.Hello"): {
+ !system("dbus-send --session --type=signal / local.AutotestCheck.Hello"): {
warning("QtDBus is enabled but session bus is not available. Please check the installation.")
SUBDIRS -= dbus
}