mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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:
parent
08bfb18736
commit
c8c5170b74
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user