mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
8a4bec767b
commit
4e3932c7ac
@ -614,6 +614,7 @@ top_includepath = include_directories('.')
|
||||
subdir('cogl')
|
||||
subdir('clutter')
|
||||
subdir('data')
|
||||
subdir('tools')
|
||||
subdir('src')
|
||||
subdir('po')
|
||||
subdir('doc/man')
|
||||
|
@ -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,
|
||||
)
|
||||
|
1
tools/meson.build
Normal file
1
tools/meson.build
Normal file
@ -0,0 +1 @@
|
||||
get_state_tool = find_program('get-state.py')
|
Loading…
Reference in New Issue
Block a user