mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
test: Fix meson build with xvfb disabled.
Fixes #678 Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -36,14 +36,15 @@ rendercheck_tests = [
|
||||
]
|
||||
|
||||
rendercheck = find_program('rendercheck', required:false)
|
||||
xvfb_args = [
|
||||
xvfb_server.full_path(),
|
||||
'-screen',
|
||||
'scrn',
|
||||
'1280x1024x24',
|
||||
]
|
||||
|
||||
if get_option('xvfb')
|
||||
xvfb_args = [
|
||||
xvfb_server.full_path(),
|
||||
'-screen',
|
||||
'scrn',
|
||||
'1280x1024x24',
|
||||
]
|
||||
|
||||
test('XTS',
|
||||
find_program('scripts/xvfb-piglit.sh'),
|
||||
env: piglit_env,
|
||||
|
||||
Reference in New Issue
Block a user