summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster2017-03-15 13:57:23 +0100
committerMarkus Armbruster2017-03-16 07:13:03 +0100
commit4ea7148e89deda8795b3233bc5ba8c4bf037230e (patch)
tree3afdbf32a2891efeb4b3c6d591bbe5a5e0acea97 /tests
parentqapi: Improve error message on @NAME: in free-form doc (diff)
downloadqemu-4ea7148e89deda8795b3233bc5ba8c4bf037230e.tar.gz
qemu-4ea7148e89deda8795b3233bc5ba8c4bf037230e.tar.xz
qemu-4ea7148e89deda8795b3233bc5ba8c4bf037230e.zip
qapi: Move empty doc section checking to doc parser
Results in a more precise error location, but the real reason is emptying out check_docs() step by step. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-35-git-send-email-armbru@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qapi-schema/doc-empty-section.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/doc-empty-section.err b/tests/qapi-schema/doc-empty-section.err
index 00ad625e17..b61e4a7886 100644
--- a/tests/qapi-schema/doc-empty-section.err
+++ b/tests/qapi-schema/doc-empty-section.err
@@ -1 +1 @@
-tests/qapi-schema/doc-empty-section.json:3: Empty doc section 'Note'
+tests/qapi-schema/doc-empty-section.json:7:1: Empty doc section 'Note'