5cbfa27654
I couldn't find any, and I was modifying the implementation, so I had to write some. I would like the test to end with a "make sure there weren't any stray unchecked errors", but I didn't figure out how to do that. v2: Extend sync tests to cover alarm delta and waitvalue changes. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
10 lines
338 B
Meson
10 lines
338 B
Meson
xcb_dep = dependency('xcb', required: false)
|
|
xcb_sync_dep = dependency('xcb-sync', required: false)
|
|
|
|
if get_option('xvfb')
|
|
if xcb_dep.found() and xcb_sync_dep.found()
|
|
sync = executable('sync', 'sync.c', dependencies: [xcb_dep, xcb_sync_dep])
|
|
test('sync', simple_xinit, args: [sync, '--', xvfb_server])
|
|
endif
|
|
endif
|