From: Daniel P. Berrangé Date: Tue, 7 May 2024 13:05:12 +0000 (+0100) Subject: test: conditionalize 'virsh-auth' on test driver X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c8c5170b74ae9af6f2ade66be310e58c90170f0f;p=libvirt.git test: conditionalize 'virsh-auth' on test driver 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é --- 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