a8eeb332cc
The Xvfb tests are passing and Xephyr-glamor is failing for me, but it fails identically on autotools. It's disabled on Travis for now because the >10 minutes of silence during testing times out the entire build. v2: Fix the disable on travis. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com>
25 lines
595 B
Meson
25 lines
595 B
Meson
simple_xinit = executable(
|
|
'simple-xinit',
|
|
'simple-xinit.c',
|
|
include_directories: inc,
|
|
)
|
|
|
|
piglit_env = environment()
|
|
piglit_env.set('XSERVER_DIR', meson.source_root())
|
|
piglit_env.set('XSERVER_BUILDDIR', meson.build_root())
|
|
|
|
if get_option('xvfb')
|
|
test('xvfb-piglit', find_program('scripts/xvfb-piglit.sh'),
|
|
env: piglit_env,
|
|
timeout: 1200,
|
|
)
|
|
|
|
if get_option('xephyr') and build_glamor
|
|
test('xephyr-glamor',
|
|
find_program('scripts/xephyr-glamor-piglit.sh'),
|
|
env: piglit_env,
|
|
timeout: 1200,
|
|
)
|
|
endif
|
|
endif
|