qapi: Check feature documentation against the schemapull-qapi-2019-10-29
commite151941d1b691402f7914750e025209b7839a1c0
authorMarkus Armbruster <armbru@redhat.com>
Thu, 24 Oct 2019 11:02:37 +0000 (24 13:02 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Oct 2019 06:35:16 +0000 (29 07:35 +0100)
tree038d26df94d19bcc8f9598f4cc061b8742b4ed6c
parente4def7875520aef0643e83698e397abe229a8953
qapi: Check feature documentation against the schema

Commit f3ed93d545 "qapi: Allow documentation for features" neglected
to check documentation against the schema.  Fix that: check them the
same way we check arguments.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191024110237.30963-20-armbru@redhat.com>
scripts/qapi/parser.py
scripts/qapi/schema.py
tests/qapi-schema/doc-bad-feature.err
tests/qapi-schema/doc-bad-feature.json
tests/qapi-schema/doc-bad-feature.out
tests/qapi-schema/doc-undoc-feature.err
tests/qapi-schema/doc-undoc-feature.json
tests/qapi-schema/doc-undoc-feature.out