Ensure that virsh is rebuilt if needed.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/meson.build b/tests/meson.build
index 3f8f3dee7c..7270840428 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -298,7 +298,7 @@ tests += [
{ 'name': 'virportallocatortest' },
{ 'name': 'virrotatingfiletest' },
{ 'name': 'virschematest' },
- { 'name': 'virshtest' },
+ { 'name': 'virshtest', 'depends': [ virsh_prog ] },
{ 'name': 'virstringtest' },
{ 'name': 'virsystemdtest' },
{ 'name': 'virtimetest' },
@@ -602,7 +602,7 @@ foreach data : tests
test_bin,
env: tests_env,
timeout: data.get('timeout', 30),
- depends: tests_deps,
+ depends: tests_deps + data.get('depends', []),
suite: 'bin'
)
endforeach
--
2.44.0