mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
a48a2a3dc9
To make it work on macOS, do not add typelibdir to GI_TYPELIB_PATH. While this change affects all the other jobs as well, it appears to be of no consequence.
23 lines
688 B
Meson
23 lines
688 B
Meson
env = environment()
|
|
env.prepend('GI_TYPELIB_PATH',
|
|
project_build_root / 'gtk',
|
|
)
|
|
env.prepend('LD_PRELOAD', project_build_root / 'gtk' / 'libgtk-4.so')
|
|
env.prepend('MESON_CURRENT_SOURCE_DIR', meson.current_source_dir())
|
|
env.prepend('MESON_CURRENT_BUILD_DIR', meson.current_build_dir())
|
|
|
|
# asan does not work with our use of LD_PRELOAD for these tests
|
|
if get_option('b_sanitize') != 'address'
|
|
test('monitor',
|
|
find_program('run-headless-monitor-tests.sh', dirs: meson.current_source_dir()),
|
|
suite: ['headless'],
|
|
env: env,
|
|
)
|
|
|
|
test('input',
|
|
find_program('run-headless-input-tests.sh', dirs: meson.current_source_dir()),
|
|
suite: ['headless'],
|
|
env: env,
|
|
)
|
|
endif
|