D-Bus testing: fix auto start test when using jhbuild
The test must not overwrite XDG_DATA_DIRS, because jhbuild sets essential values there. Instead append.
This commit is contained in:
parent
f5286a09fa
commit
1995bd6184
|
@ -1439,7 +1439,7 @@ Exec=%s
|
|||
# that syncevo-dbus-server. Uses a dbus-session.sh from the
|
||||
# same dir as test-dbus.py itself.
|
||||
env = copy.deepcopy(os.environ)
|
||||
env['XDG_DATA_DIRS'] = os.path.abspath(os.path.join(xdg_root, "share"))
|
||||
env['XDG_DATA_DIRS'] = env.get('XDG_DATA_DIRS', '') + ':' + os.path.abspath(os.path.join(xdg_root, "share"))
|
||||
|
||||
# Avoid running EDS and Akonadi. They are not needed for this test
|
||||
# and can cause false failures, for example when the daemons
|
||||
|
|
Loading…
Reference in New Issue