mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
tests/qapi-schema: Improve doc / expression mismatch coverage
New tests doc-before-include.json and doc-before-pragma.json show we fail to reject a misplaced expression comment. New test doc-no-symbol.json shows a bad error message. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1489582656-31133-31-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
75b50196d9
commit
2028be8eea
13 changed files with 38 additions and 0 deletions
4
tests/qapi-schema/doc-before-pragma.out
Normal file
4
tests/qapi-schema/doc-before-pragma.out
Normal file
|
@ -0,0 +1,4 @@
|
|||
enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool']
|
||||
prefix QTYPE
|
||||
object foo
|
||||
object q_empty
|
Loading…
Add table
Add a link
Reference in a new issue