mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 05:15:36 +00:00
tests: Ensure that plugins are build for tests that need them
This commit is contained in:
parent
27302dc5a5
commit
81f53f9891
3 changed files with 5 additions and 3 deletions
|
@ -130,8 +130,8 @@ add_project_arguments(
|
|||
|
||||
subdir('po')
|
||||
subdir('src')
|
||||
subdir('tests')
|
||||
subdir('plugins')
|
||||
subdir('tests')
|
||||
subdir('doc')
|
||||
subdir('data')
|
||||
|
||||
|
|
|
@ -4,3 +4,5 @@ subdir('provider/dummy')
|
|||
subdir('provider/ofono')
|
||||
subdir('provider/sip')
|
||||
subdir('provider/tests')
|
||||
|
||||
calls_plugins = [calls_mm, calls_dummy, calls_ofono, calls_sip]
|
||||
|
|
|
@ -38,7 +38,7 @@ t = executable('manager', test_sources,
|
|||
calls_includes
|
||||
]
|
||||
)
|
||||
test('manager', t, env: test_env)
|
||||
test('manager', t, env: test_env, depends: calls_plugins)
|
||||
|
||||
test_sources = [ 'test-plugins.c' ]
|
||||
|
||||
|
@ -53,7 +53,7 @@ t = executable('plugins', test_sources,
|
|||
calls_includes
|
||||
]
|
||||
)
|
||||
test('plugins', t, env: test_env)
|
||||
test('plugins', t, env: test_env, depends: calls_plugins)
|
||||
|
||||
test_sources = [ 'test-util.c' ]
|
||||
t = executable('util', test_sources,
|
||||
|
|
Loading…
Reference in a new issue