mirror of https://gitee.com/openkylin/libvirt.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 <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
7817c3f89c
commit
479333af2c
|
@ -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 ] },
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue