mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
tests: Perform x11 test in both sync and async modes
The former allows better catching of issues, so do both cases See: https://gitlab.gnome.org/GNOME/mutter/-/issues/2835 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3020>
This commit is contained in:
parent
ed1d8bed93
commit
6d992e9e45
@ -666,18 +666,29 @@ if have_kvm_tests or have_tty_tests
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if have_x11
|
if have_x11
|
||||||
test('x11', xvfb,
|
foreach mode: ['', 'sync']
|
||||||
args: [
|
x11_env = test_env
|
||||||
xvfb_args,
|
if mode == 'sync'
|
||||||
find_program('x11-test.sh').full_path(),
|
x11_env.set('MUTTER_SYNC', '1')
|
||||||
mutter.full_path(),
|
endif
|
||||||
],
|
test('x11' + (mode != '' ? '-' + mode : ''), xvfb,
|
||||||
depends: [mutter],
|
args: [
|
||||||
suite: ['core', 'mutter/x11'],
|
xvfb_args,
|
||||||
env: test_env,
|
find_program('x11-test.sh').full_path(),
|
||||||
is_parallel: false,
|
mutter.full_path(),
|
||||||
timeout: 60,
|
],
|
||||||
)
|
depends: [
|
||||||
|
mutter,
|
||||||
|
default_plugin,
|
||||||
|
x11_frames,
|
||||||
|
],
|
||||||
|
env: x11_env,
|
||||||
|
suite: ['core', 'mutter/x11'],
|
||||||
|
should_fail: mode == 'sync',
|
||||||
|
is_parallel: false,
|
||||||
|
timeout: 60,
|
||||||
|
)
|
||||||
|
endforeach
|
||||||
endif
|
endif
|
||||||
|
|
||||||
tools_test_env = test_env
|
tools_test_env = test_env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user