Commit 0a005c4f authored by Emma Anholt's avatar Emma Anholt
Browse files

test: Fix meson build with xvfb disabled.



Fixes #678
Signed-off-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
parent 8ab80fd5
...@@ -36,14 +36,15 @@ rendercheck_tests = [ ...@@ -36,14 +36,15 @@ rendercheck_tests = [
] ]
rendercheck = find_program('rendercheck', required:false) rendercheck = find_program('rendercheck', required:false)
xvfb_args = [
xvfb_server.full_path(),
'-screen',
'scrn',
'1280x1024x24',
]
if get_option('xvfb') if get_option('xvfb')
xvfb_args = [
xvfb_server.full_path(),
'-screen',
'scrn',
'1280x1024x24',
]
test('XTS', test('XTS',
find_program('scripts/xvfb-piglit.sh'), find_program('scripts/xvfb-piglit.sh'),
env: piglit_env, env: piglit_env,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment