root_rel = '../..'
python = import('python').find_installation()
-if run_command(python, '-c', 'import gi').returncode() != 0
+if run_command(python, '-c', 'import gi', check: false).returncode() != 0
message('PyGObject not found, not running PyGObject tests')
subdir_done()
endif
test('python-overrides-devenv', setenv, args: ['--builddir=@0@'.format(meson.project_build_root()),
- '--gstbuilddir=@0@'.format(meson.current_build_dir() / '..' / '..'),
'--srcdir=@0@'.format(meson.project_source_root()),
meson.current_source_dir() / 'python-devenv-overrides.py'])