tests: Ensure that plugins are build for tests that need them

This commit is contained in:
Julian Sparber
2022-11-21 12:24:34 +01:00
parent db6d69e026
commit b3040e38a4
3 changed files with 5 additions and 3 deletions

View File

@@ -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,