gobject/tests/meson: Make gobject-query.py test depend on gobject-query util

The utility is used by the script, so we need to depend on it.
This commit is contained in:
Marco Trevisan (Treviño) 2022-10-25 18:49:03 +02:00
parent a106ce4445
commit 038ef36b99
2 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,7 @@ libgobject_dep = declare_dependency(link_with : libgobject,
)
meson.override_dependency('gobject-2.0', libgobject_dep)
executable('gobject-query', 'gobject-query.c',
gobject_query = executable('gobject-query', 'gobject-query.c',
install : true,
install_tag : 'bin-devel',
dependencies : [libglib_dep, libgobject_dep])

View File

@ -126,6 +126,7 @@ endif
python_tests = {
'genmarshal.py' : {},
'gobject-query.py' : {
'depends' : gobject_query,
'can_fail' : host_system == 'windows',
},
'mkenums.py' : {},