tests: Depend on .plugin files to exist

When .plugin files are missing, the plugins will not be discoverable.
These were only getting built when run with `meson compile`,
but not for `meson test`.

Helps: https://gitlab.gnome.org/GNOME/calls/-/issues/719

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/798>
This commit is contained in:
Evangelos Ribeiro Tzaras
2025-10-14 17:08:35 +02:00
committed by Marge Bot
parent 93a5c1911d
commit 3184fa3af0
6 changed files with 14 additions and 2 deletions

View File

@@ -48,11 +48,15 @@ subdir('services')
tests = [
['emergency-call-types', ['test-emergency-call-types.c']],
['manager', ['test-manager.c'], {'extra_test_deps' : [calls_plugins]}],
[
'manager',
['test-manager.c'],
{'extra_test_deps' : [calls_plugins, plugins_test_depends]},
],
[
'plugins',
['test-plugins.c', calls_sources],
{'extra_test_deps' : [calls_plugins]},
{'extra_test_deps' : [calls_plugins, plugins_test_depends]},
],
['util', ['test-util.c']],
['ui-call', ['test-ui-call.c', 'mock-call.c']],