mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
596f59f471
If we don't find the python gi module, skip the introspection test.
13 lines
316 B
Meson
13 lines
316 B
Meson
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')
|
|
|
|
test('api',
|
|
find_program('api.py', dirs: meson.current_source_dir()),
|
|
suite: ['introspection'],
|
|
env: env,
|
|
)
|