From: Daniel P. Berrangé Date: Tue, 7 May 2024 13:35:04 +0000 (+0100) Subject: tests: don't run mdevctl test if lacking YAJL X-Git-Tag: v10.4.0-rc1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=479333af2c9d234ec1639a0a976e27afb1e26604;p=thirdparty%2Flibvirt.git tests: don't run mdevctl test if lacking YAJL The mdev code requires YAJL in order to convert from node dev XML to mdev's config format. Reviewed-by: Peter Krempa Signed-off-by: Daniel P. Berrangé --- diff --git a/tests/meson.build b/tests/meson.build index 007bd912fb..ba2d319347 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -402,7 +402,7 @@ if conf.has('WITH_NETWORK') ] endif -if conf.has('WITH_NODE_DEVICES') +if conf.has('WITH_NODE_DEVICES') and conf.has('WITH_YAJL') tests += [ { 'name': 'nodedevmdevctltest', 'link_with': [ node_device_driver_impl ] }, ]