2023-05-03 14:48:32 +00:00
|
|
|
env = environment()
|
|
|
|
env.prepend('GI_TYPELIB_PATH',
|
|
|
|
project_build_root / 'gtk',
|
|
|
|
gi_dep.get_variable(pkgconfig: 'typelibdir'),
|
|
|
|
)
|
|
|
|
env.prepend('LD_PRELOAD', project_build_root / 'gtk' / 'libgtk-4.so')
|
|
|
|
env.prepend('MESON_CURRENT_SOURCE_DIR', meson.current_source_dir())
|
|
|
|
|
|
|
|
test('monitor',
|
|
|
|
find_program('run-headless-monitor-tests.sh', dirs: meson.current_source_dir()),
|
2023-05-04 15:39:35 +00:00
|
|
|
suite: ['headless'],
|
2023-05-03 14:48:32 +00:00
|
|
|
env: env,
|
|
|
|
)
|
|
|
|
|
|
|
|
test('input',
|
|
|
|
find_program('run-headless-input-tests.sh', dirs: meson.current_source_dir()),
|
|
|
|
suite: ['headless'],
|
|
|
|
env: env,
|
|
|
|
)
|