gtk/testsuite/introspection/meson.build
René de Hesselle a48a2a3dc9 ci: Build testsuite for macOS
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.
2024-02-17 14:31:51 +01:00

12 lines
268 B
Meson

env = environment()
env.prepend('GI_TYPELIB_PATH',
project_build_root / 'gtk',
)
env.prepend('LD_PRELOAD', project_build_root / 'gtk' / 'libgtk-4.so')
test('api',
find_program('api.py', dirs: meson.current_source_dir()),
suite: ['introspection'],
env: env,
)