From 01f6cbcf074c7cc83f255bb3cb655319a75f83aa Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 1 Dec 2015 11:54:08 +0100 Subject: [PATCH] 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 --- tests/virnetdaemontest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/virnetdaemontest.c b/tests/virnetdaemontest.c index 24cbd54531..e5d09a3ebc 100644 --- a/tests/virnetdaemontest.c +++ b/tests/virnetdaemontest.c @@ -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) { -- GitLab