aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-09-18 04:57:25 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-03 08:07:35 -0400
commit1badb709cffee455ec9fb2253cf7aec66e09a9d2 (patch)
tree1176f19f8ad2514cacb7fdbc3b6c0dd443ba31df /tests
parent1bb4cb1c33805c0da0db5b76852bb73759625c4e (diff)
configure: convert accelerator variables to meson options
Prepare for moving the tests to meson. For now they only have enabled/disabled as the possible values when meson is invoked, but "auto" will be a possibility later, when configure will only parse the command line options. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 3c2969092d..bf47a38c74 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -269,7 +269,7 @@ test('decodetree', sh,
subdir('fp')
-if 'CONFIG_TCG' in config_host
+if not get_option('tcg').disabled()
if 'CONFIG_PLUGIN' in config_host
subdir('plugin')
endif