xref: /OK3568_Linux_fs/external/xserver/test/meson.build (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1simple_xinit = executable(
2    'simple-xinit',
3    'simple-xinit.c',
4    include_directories: inc,
5)
6
7piglit_env = environment()
8piglit_env.set('XSERVER_DIR', meson.source_root())
9piglit_env.set('XSERVER_BUILDDIR', meson.build_root())
10
11if get_option('xvfb')
12    test('xvfb-piglit', find_program('scripts/xvfb-piglit.sh'),
13        env: piglit_env,
14        timeout: 1200,
15    )
16
17    if get_option('xephyr') and build_glamor
18        test('xephyr-glamor',
19            find_program('scripts/xephyr-glamor-piglit.sh'),
20            env: piglit_env,
21            timeout: 1200,
22        )
23    endif
24endif
25
26subdir('bigreq')
27subdir('sync')
28