From 479333af2c9d234ec1639a0a976e27afb1e26604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 7 May 2024 14:35:04 +0100 Subject: [PATCH] tests: don't run mdevctl test if lacking YAJL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] }, ]