aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-09-27 15:46:37 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-09-28 17:17:48 +0200
commitf63326985a23cc1bb6327a003050e6fdb52eb9cd (patch)
treec323f9c7d6bf8ed5bb057940c143e8bc7b11e34e /tests
parent13b3997f148bc35d2050bc2fe4bb405791ece94f (diff)
downloadqemu-f63326985a23cc1bb6327a003050e6fdb52eb9cd.zip
qemu-f63326985a23cc1bb6327a003050e6fdb52eb9cd.tar.gz
qemu-f63326985a23cc1bb6327a003050e6fdb52eb9cd.tar.bz2
qapi: Improve reporting of missing documentation comment
Have check_exprs() check this later, so the error message gains an "in definition line". Tweak the error message. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20190927134639.4284-25-armbru@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qapi-schema/doc-missing.err3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qapi-schema/doc-missing.err b/tests/qapi-schema/doc-missing.err
index 08c8279..7fbf54f 100644
--- a/tests/qapi-schema/doc-missing.err
+++ b/tests/qapi-schema/doc-missing.err
@@ -1 +1,2 @@
-tests/qapi-schema/doc-missing.json:5: definition missing documentation comment
+tests/qapi-schema/doc-missing.json: In command 'undocumented':
+tests/qapi-schema/doc-missing.json:5: documentation comment required