test: Fix meson build with xvfb disabled.
Fixes #678 Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
8ab80fd505
commit
0a005c4fe4
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue