tests: Ensure that plugins are build for tests that need them
This commit is contained in:
@@ -130,8 +130,8 @@ add_project_arguments(
|
|||||||
|
|
||||||
subdir('po')
|
subdir('po')
|
||||||
subdir('src')
|
subdir('src')
|
||||||
subdir('tests')
|
|
||||||
subdir('plugins')
|
subdir('plugins')
|
||||||
|
subdir('tests')
|
||||||
subdir('doc')
|
subdir('doc')
|
||||||
subdir('data')
|
subdir('data')
|
||||||
|
|
||||||
|
@@ -4,3 +4,5 @@ subdir('provider/dummy')
|
|||||||
subdir('provider/ofono')
|
subdir('provider/ofono')
|
||||||
subdir('provider/sip')
|
subdir('provider/sip')
|
||||||
subdir('provider/tests')
|
subdir('provider/tests')
|
||||||
|
|
||||||
|
calls_plugins = [calls_mm, calls_dummy, calls_ofono, calls_sip]
|
||||||
|
@@ -38,7 +38,7 @@ t = executable('manager', test_sources,
|
|||||||
calls_includes
|
calls_includes
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
test('manager', t, env: test_env)
|
test('manager', t, env: test_env, depends: calls_plugins)
|
||||||
|
|
||||||
test_sources = [ 'test-plugins.c' ]
|
test_sources = [ 'test-plugins.c' ]
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ t = executable('plugins', test_sources,
|
|||||||
calls_includes
|
calls_includes
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
test('plugins', t, env: test_env)
|
test('plugins', t, env: test_env, depends: calls_plugins)
|
||||||
|
|
||||||
test_sources = [ 'test-util.c' ]
|
test_sources = [ 'test-util.c' ]
|
||||||
t = executable('util', test_sources,
|
t = executable('util', test_sources,
|
||||||
|
Reference in New Issue
Block a user