mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
Only output initialized capabilities with VIR_TEST_DEBUG > 1
Currenty virTestInit() outputs all capabilities that it created when running with VIR_TEST_DEBUG=1. Since this is quite a lot of output for every call of this function (and it is not needed until debugging a really deep-down issue) let's just output the info when VIR_TEST_DEBUG is strictly greater than 1. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
e399641561
commit
b8bbc23fea
@ -1208,7 +1208,7 @@ virCapsPtr virTestGenericCapsInit(void)
|
||||
goto error;
|
||||
|
||||
|
||||
if (virTestGetDebug()) {
|
||||
if (virTestGetDebug() > 1) {
|
||||
char *caps_str;
|
||||
|
||||
caps_str = virCapabilitiesFormatXML(caps);
|
||||
|
Loading…
Reference in New Issue
Block a user