tests/qapi-schema: Fix feature documentation testing

Commit 8aa3a33e44 "tests/qapi-schema: Test for good feature lists in
structs" made test-qapi.py show features, but neglected to show their
documentation.  Fix that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191024110237.30963-5-armbru@redhat.com>
This commit is contained in:
Markus Armbruster 2019-10-24 13:02:22 +02:00
parent f6401deb06
commit a0418a4a6b
4 changed files with 16 additions and 0 deletions

View file

@ -126,6 +126,8 @@ A paragraph
Another paragraph (but no @var: line)
arg=var1
feature=variant1-feat
a feature
doc symbol=Variant2
body=
@ -158,6 +160,10 @@ the second
argument
arg=arg3
feature=cmd-feat1
a feature
feature=cmd-feat2
another feature
section=Note
@arg3 is undocumented
section=Returns
@ -180,6 +186,10 @@ Duis aute irure dolor
doc symbol=cmd-boxed
body=
If you're bored enough to read this, go see a video of boxed cats
feature=cmd-feat1
a feature
feature=cmd-feat2
another feature
section=Example
-> in