]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: drop bogus check for YAJL from libxl test/mock
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 7 May 2024 13:26:55 +0000 (14:26 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 May 2024 15:01:34 +0000 (16:01 +0100)
commit7817c3f89cc9f887bea269ebd3f34641cd0a052a
tree2ef80af8a17b1ffc92447f302ae51073d5fb019f
parent971305e86f26269d3211ff41f4931e66c6f0b716
test: drop bogus check for YAJL from libxl test/mock

The libxlmock.c conditionalizes on WITH_YAJL, but this mock is
used from other tests which only conditionalize on WITH_LIBXL.
The libxl code does not have any dependancy on YAJL, so the
bogus condition can be removed from the mock and also from
libxlxml2domconfigtest.c

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/libxlmock.c
tests/libxlxml2domconfigtest.c