From c8c5170b74ae9af6f2ade66be310e58c90170f0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 7 May 2024 14:05:12 +0100 Subject: [PATCH] test: conditionalize 'virsh-auth' on test driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The 'virsh-auth' test is mistakenly conditionalized on the libvirtd daemon build, however, it just uses the 'test:///default' driver URI, so does not require a daemon. Reviewed-by: Peter Krempa Signed-off-by: Daniel P. Berrangé --- tests/meson.build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index 6869ed28de..eda9075535 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -711,6 +711,12 @@ endforeach # list of test scripts to run test_scripts = [] +if conf.has('WITH_TEST') + test_scripts += [ + { 'name': 'virsh-auth', 'depends': [ virsh_prog ] } + ] +endif + if conf.has('WITH_LIBVIRTD') test('libvirtd fail with missing config', libvirtd_prog, @@ -719,10 +725,6 @@ if conf.has('WITH_LIBVIRTD') suite: 'bin', ) - test_scripts += [ - { 'name': 'virsh-auth', 'depends': [ virsh_prog ] } - ] - if conf.has('WITH_SECDRIVER_APPARMOR') test_scripts += { 'name': 'virt-aa-helper-test' } endif -- 2.39.5