From 9a4752ca5b0421f4eeb0fe437904b963030c827d Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 8 Apr 2024 15:55:38 +0200 Subject: [PATCH] meson: tests: Add 'virsh' as dependency of 'virshtest' Ensure that virsh is rebuilt if needed. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- 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