tests: Add sanity test for get-state.py tool

It'll fail if the type signature of the GetCurrentStat() method is
changed, more or less.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2448>
This commit is contained in:
Jonas Ådahl
2022-06-01 13:30:27 +02:00
committed by Marge Bot
parent 8a4bec767b
commit 4e3932c7ac
3 changed files with 15 additions and 0 deletions

View File

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