11b5d61b8Smrgxcb_dep = dependency('xcb', required: false) 21b5d61b8Smrgxcb_xinput_dep = dependency('xcb-xinput', required: false) 31b5d61b8Smrg 41b5d61b8Smrgif get_option('xvfb') 51b5d61b8Smrg if xcb_dep.found() and xcb_xinput_dep.found() 61b5d61b8Smrg requestlength = executable('request-length', 'request-length.c', 71b5d61b8Smrg dependencies: [xcb_dep, xcb_xinput_dep]) 81b5d61b8Smrg test('request-length', simple_xinit, args: [requestlength, '--', xvfb_server]) 91b5d61b8Smrg endif 101b5d61b8Smrgendif 11