mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
Merge branch 'testsuite-introspection-extend-envvars' into 'main'
testsuite: introspection: Do not override environment variables. See merge request GNOME/gtk!4268
This commit is contained in:
commit
855357f871
@ -1,10 +1,12 @@
|
||||
py = import('python').find_installation('python3', modules: ['gi'])
|
||||
|
||||
env = environment()
|
||||
env.prepend('GI_TYPELIB_PATH',
|
||||
join_paths(project_build_root, 'gtk'),
|
||||
gi_dep.get_pkgconfig_variable('typelibdir'))
|
||||
env.prepend('LD_PRELOAD', join_paths(project_build_root, 'gtk', 'libgtk-4.so'))
|
||||
|
||||
test('api',
|
||||
find_program('api.py', dirs: meson.current_source_dir()),
|
||||
suite: ['introspection'],
|
||||
env: [
|
||||
'GI_TYPELIB_PATH=@0@/gtk:@1@'.format(project_build_root,
|
||||
gi_dep.get_pkgconfig_variable('typelibdir')),
|
||||
'LD_PRELOAD=@0@/gtk/libgtk-4.so'.format(project_build_root),
|
||||
])
|
||||
env: env)
|
||||
|
Loading…
Reference in New Issue
Block a user