mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
b1cc591ef5
The D-Bus runner used by tests, including installed tests, is made to be reusable from GNOME Shell. To do this, install it and the templates in the pkgdatadir (e.g. /usr/share/mutter-APIVERSION/tests/), generate a custom runner for the installed tests that uses the installed script and templates, and change the non-installed original runner to use the non-installed templates. The end goal is to reuse the D-Bus session runner and templates used for mutter when test running GNOME Shell. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1354>
12 lines
221 B
Python
Executable File
12 lines
221 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
|
|
sys.path.insert(1, '@tests_datadir@')
|
|
|
|
from mutter_dbusrunner import MutterDBusRunner, meta_run
|
|
|
|
if __name__ == '__main__':
|
|
result = meta_run(MutterDBusRunner)
|
|
sys.exit(result)
|