Match the behavior of most other features.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
meson.build | 2 +-
meson_options.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 53c9a038d0..1a2503488a 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')
--
2.31.1