summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-12-06 15:12:20 -0500
committerAdam Jackson <ajax@redhat.com>2017-12-08 11:36:24 -0500
commit3db7707df3cfd8ba62c10d08c7c731ec18ea8ddf (patch)
treefd15180cbd977d4690d38f39366d3c103de360d2 /test
parent9f7a9be13d6449c00c86d3035374f4f543654b3f (diff)
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>
Diffstat (limited to 'test')
-rw-r--r--test/bigreq/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/bigreq/meson.build b/test/bigreq/meson.build
index 9462ede31..c544703e2 100644
--- a/test/bigreq/meson.build
+++ b/test/bigreq/meson.build
@@ -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