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>
# 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,
suite: 'bin',
)
- test_scripts += [
- { 'name': 'virsh-auth', 'depends': [ virsh_prog ] }
- ]
-
if conf.has('WITH_SECDRIVER_APPARMOR')
test_scripts += { 'name': 'virt-aa-helper-test' }
endif