mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01:00
test: Fix build dependency for bigreq test
libxcb-xinput isn't a thing in whichever Ubuntu it is that Travis is using. The test is already optional, make it more so. Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
9f7a9be13d
commit
3db7707df3
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
xcb_dep = dependency('xcb', required: false)
|
||||
xcb_xinput_dep = dependency('xcb-xinput', required: false)
|
||||
|
||||
if get_option('xvfb')
|
||||
if xcb_dep.found()
|
||||
requestlength = executable('request-length', 'request-length.c', dependencies: xcb_dep)
|
||||
if xcb_dep.found() and xcb_xinput_dep.found()
|
||||
requestlength = executable('request-length', 'request-length.c',
|
||||
dependencies: [xcb_dep, xcb_xinput_dep])
|
||||
test('request-length', simple_xinit, args: [requestlength, '--', xvfb_server])
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue