mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
tests: Add dbus runner
This adds a dbus-runner ala meta-dbus-runner.py. It extends the one used in mutter, and adds various mocked services needed by gnome-shell. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1349>
This commit is contained in:
parent
65a6ceddca
commit
c628b9f6bc
3 changed files with 140 additions and 0 deletions
13
tests/gnome-shell-dbus-runner.py.in
Executable file
13
tests/gnome-shell-dbus-runner.py.in
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
|
||||
sys.path.insert(1, '@MUTTER_TEST_PKGDATADIR@')
|
||||
sys.path.insert(2, '@SRCDIR@')
|
||||
|
||||
from mutter_dbusrunner import meta_run
|
||||
from gnomeshell_dbusrunner import GnomeShellDBusRunner
|
||||
|
||||
if __name__ == '__main__':
|
||||
result = meta_run(GnomeShellDBusRunner)
|
||||
sys.exit(result)
|
||||
Loading…
Add table
Add a link
Reference in a new issue