mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 06:03:52 +03:00
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:
parent
6a077cf2b3
commit
639d6e7045
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user