mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
meson: Switch to autodetection for driver_test
Match the behavior of most other features. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
83ff55b5a2
commit
2a38cc59e3
@ -1704,7 +1704,7 @@ if not get_option('driver_secrets').disabled() and conf.has('WITH_LIBVIRTD')
|
||||
conf.set('WITH_SECRETS', 1)
|
||||
endif
|
||||
|
||||
if get_option('driver_test').enabled()
|
||||
if not get_option('driver_test').disabled()
|
||||
conf.set('WITH_TEST', 1)
|
||||
endif
|
||||
|
||||
|
@ -62,7 +62,7 @@ option('qemu_moddir', type: 'string', value: '', description: 'set the directory
|
||||
option('driver_remote', type: 'feature', value: 'auto', description: 'remote driver')
|
||||
option('remote_default_mode', type: 'combo', choices: ['legacy', 'direct'], value: 'legacy', description: 'remote driver default mode')
|
||||
option('driver_secrets', type: 'feature', value: 'auto', description: 'local secrets management driver')
|
||||
option('driver_test', type: 'feature', value: 'enabled', description: 'test driver')
|
||||
option('driver_test', type: 'feature', value: 'auto', description: 'test driver')
|
||||
option('driver_vbox', type: 'feature', value: 'auto', description: 'VirtualBox XPCOMC driver')
|
||||
option('vbox_xpcomc_dir', type: 'string', value: '', description: 'Location of directory containing VirtualBox XPCOMC library')
|
||||
option('driver_vmware', type: 'feature', value: 'auto', description: 'VMware driver')
|
||||
|
Loading…
Reference in New Issue
Block a user