提交 1fc11023 编写于 作者: P Peter Krempa

tests: qemumonitorjson: Raise the necessary debug level for QAPI schema checks

The debug output of the schema validator on success is not so
interesting that it should be printed when basic debugging is enabled.

Print it only when test debugging is set to 3 and more.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
上级 33470896
......@@ -2838,7 +2838,7 @@ testQAPISchema(const void *opaque)
ret = 0;
}
if (virTestGetDebug() ||
if (virTestGetDebug() >= 3 ||
(ret < 0 && virTestGetVerbose())) {
char *debugstr = virBufferContentAndReset(&debug);
fprintf(stderr, "\n%s\n", debugstr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册