1
0
Fork 0

tests: Add get-state test using gdbus

This ensures we know how to handle data from bug reports gathered using
gdbus.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2448>
This commit is contained in:
Jonas Ådahl 2022-06-27 10:40:57 +02:00 committed by Marge Bot
parent d3b26a5914
commit 083b872677

View file

@ -430,7 +430,7 @@ if have_x11
)
endif
test('get-state-tool', mutter,
test('get-state-tool-gio', mutter,
args: [
'--headless',
'--mutter-plugin=@0@'.format(default_plugin.full_path()),
@ -442,3 +442,18 @@ test('get-state-tool', mutter,
is_parallel: false,
timeout: 60,
)
test('get-state-tool-gdbus', mutter,
args: [
'--headless',
'--mutter-plugin=@0@'.format(default_plugin.full_path()),
'--virtual-monitor', '800x600',
'--',
get_state_tool.full_path(),
'--gdbus',
],
suite: ['tools'],
env: test_env,
is_parallel: false,
timeout: 60,
)