From: Andrea Bolognani Date: Wed, 26 May 2021 15:46:26 +0000 (+0200) Subject: meson: Switch to autodetection for driver_test X-Git-Tag: v7.5.0-rc1~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a38cc59e39d0e745c9dac461fd0de8611091a51;p=thirdparty%2Flibvirt.git meson: Switch to autodetection for driver_test Match the behavior of most other features. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- diff --git a/meson.build b/meson.build index ce0772f7a8..36bb355414 100644 --- a/meson.build +++ b/meson.build @@ -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 diff --git a/meson_options.txt b/meson_options.txt index fd23469431..e2877d5a92 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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')