xserver-multidpi/test/damage/meson.build
Eric Anholt 89901e14d2 test: Add the start of a testsuite for damage.
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>
2018-09-25 21:27:08 -07:00

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