]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Only output initialized capabilities with VIR_TEST_DEBUG > 1
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 3 Nov 2017 16:28:10 +0000 (17:28 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Sat, 18 Nov 2017 09:45:10 +0000 (10:45 +0100)
commitb8bbc23fea2302c12cf8e162a6d08ecd304fdcb0
treedd33b30358cb8b0526dbb62f184129eb5949cc1f
parente399641561b63c3dcc30bb3c50154dc9a65da52a
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>
tests/testutils.c