mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
gobject/tests/meson: Add support to add extra depends args to python tests
This commit is contained in:
parent
eef2b0b39e
commit
a106ce4445
@ -183,6 +183,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
endforeach
|
||||
|
||||
foreach test_name, extra_args : python_tests
|
||||
depends = [extra_args.get('depends', [])]
|
||||
suite = ['gobject', 'no-valgrind']
|
||||
|
||||
if extra_args.get('can_fail', false)
|
||||
@ -192,6 +193,7 @@ foreach test_name, extra_args : python_tests
|
||||
test(
|
||||
test_name,
|
||||
python,
|
||||
depends: depends,
|
||||
args: ['-B', files(test_name)],
|
||||
env: test_env,
|
||||
suite: suite,
|
||||
|
Loading…
x
Reference in New Issue
Block a user