This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
qemu
Watch
0
Star
0
Fork
0
You've already forked qemu
mirror of
https://github.com/qemu/qemu.git
synced
2024-11-30 07:13:38 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
259a4f0a76
qemu
/
tests
/
qapi-schema
/
bad-data.err
2 lines
80 B
Plaintext
Raw
Normal View
History
Unescape
Escape
qapi: More rigourous checking of types Now that we know every expression is valid with regards to its keys, we can add further tests that those keys refer to valid types. With this patch, all uses of a type (the 'data': of command, type, union, alternate, and event; the 'returns': of command; the 'base': of type and union) must resolve to an appropriate subset of metatypes declared by the current qapi parse; this includes recursing into each member of a data dictionary. Dealing with '**' and nested anonymous structs will be done in later patches. Update the testsuite to match improved output. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-04 23:05:21 +08:00
tests/qapi-schema/bad-data.json:2: 'data' for command 'oops' cannot be an array
Reference in New Issue
Copy Permalink