mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
tests/qapi-schema: Cover unknown pragma
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-2-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
8d40738d2f
commit
137cf6a9be
5 changed files with 4 additions and 0 deletions
|
@ -427,6 +427,7 @@ qapi-schema += pragma-doc-required-crap.json
|
|||
qapi-schema += pragma-extra-junk.json
|
||||
qapi-schema += pragma-name-case-whitelist-crap.json
|
||||
qapi-schema += pragma-non-dict.json
|
||||
qapi-schema += pragma-unknown.json
|
||||
qapi-schema += pragma-returns-whitelist-crap.json
|
||||
qapi-schema += qapi-schema-test.json
|
||||
qapi-schema += quoted-structural-chars.json
|
||||
|
|
1
tests/qapi-schema/pragma-unknown.err
Normal file
1
tests/qapi-schema/pragma-unknown.err
Normal file
|
@ -0,0 +1 @@
|
|||
tests/qapi-schema/pragma-unknown.json:1: Unknown pragma 'no-such-pragma'
|
1
tests/qapi-schema/pragma-unknown.exit
Normal file
1
tests/qapi-schema/pragma-unknown.exit
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
1
tests/qapi-schema/pragma-unknown.json
Normal file
1
tests/qapi-schema/pragma-unknown.json
Normal file
|
@ -0,0 +1 @@
|
|||
{ 'pragma': { 'no-such-pragma': false } }
|
0
tests/qapi-schema/pragma-unknown.out
Normal file
0
tests/qapi-schema/pragma-unknown.out
Normal file
Loading…
Add table
Add a link
Reference in a new issue