tests: domaincaps: Fix build when WITH_QEMU is disabled

doTestQemuInternal and doTestQemu are used only when WITH_QEMU is
enabled.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Peter Krempa 2019-10-24 19:31:08 +02:00
parent 6a077cf2b3
commit 639d6e7045

View File

@ -266,6 +266,9 @@ test_virDomainCapsFormat(const void *opaque)
return ret;
}
#if WITH_QEMU
static int
doTestQemuInternal(const char *version,
const char *machine,
@ -349,6 +352,8 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED,
return 0;
}
#endif
static int
mymain(void)
{