mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-27 06:50:23 +03:00
tests: Run virnetdaemontest iff WITH_YAJL
The test itself and daemon require a JSON parsing library. If not present, skip the test. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
2340f3ebfb
commit
01f6cbcf07
@ -26,7 +26,7 @@
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_RPC
|
||||
|
||||
#ifdef HAVE_SOCKETPAIR
|
||||
#if defined(HAVE_SOCKETPAIR) && defined(WITH_YAJL)
|
||||
static virNetServerPtr
|
||||
testCreateServer(const char *host, int family)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user