meson: tests: Add 'virsh' as dependency of 'virshtest'

Ensure that virsh is rebuilt if needed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Peter Krempa 2024-04-08 15:55:38 +02:00
parent dbf7b727fb
commit 9a4752ca5b

View File

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