89901e14d2
Inspired by the previous bug, build something we can use to write damage testcases, including testing for the bug. Signed-off-by: Eric Anholt <eric@anholt.net>
10 lines
404 B
Meson
10 lines
404 B
Meson
xcb_dep = dependency('xcb', required: false)
|
|
xcb_damage_dep = dependency('xcb-damage', required: false)
|
|
|
|
if get_option('xvfb')
|
|
if xcb_dep.found() and xcb_damage_dep.found()
|
|
damage_primitives = executable('damage-primitives', 'primitives.c', dependencies: [xcb_dep, xcb_damage_dep])
|
|
test('damage-primitives', simple_xinit, args: [damage_primitives, '--', xvfb_server])
|
|
endif
|
|
endif
|