aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-10-13 11:43:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-21 10:35:53 +0100
commit406523f6b3e0482c2b3be571db7e979473d09d12 (patch)
treed488da1026d4fc290f09cf461916c1cd561b5fd5 /tests/unit
parented793c2c455e1c376ae271d8acc5ac40221ecfd1 (diff)
downloadqemu-406523f6b3e0482c2b3be571db7e979473d09d12.zip
qemu-406523f6b3e0482c2b3be571db7e979473d09d12.tar.gz
qemu-406523f6b3e0482c2b3be571db7e979473d09d12.tar.bz2
configure, meson: move block layer options to meson_options.txt
Unlike image formats, these also require an entry in config-host.h. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/meson.build b/tests/unit/meson.build
index 64a5e7b..0959061 100644
--- a/tests/unit/meson.build
+++ b/tests/unit/meson.build
@@ -106,7 +106,7 @@ if have_block
if 'CONFIG_POSIX' in config_host
tests += {'test-image-locking': [testblock]}
endif
- if 'CONFIG_REPLICATION' in config_host
+ if config_host_data.get('CONFIG_REPLICATION')
tests += {'test-replication': [testblock]}
endif
if nettle.found() or gcrypt.found()