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 <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé committed 2024-05-08 16:01:34 +01:00
1 parent 08bfb18736
commit c8c5170b74
1 file changed
+6 -4
+6 -4
View File
@@ -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