mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
tests/qapi-schema: Make test-qapi.py print arrays
The next few commits mess with array types, and having the changes exposed in output of test-qapi.py will be useful. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190301154051.23317-2-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Rationale added to commit message]
This commit is contained in:
parent
0984a157c1
commit
ca0ac758d6
2 changed files with 12 additions and 0 deletions
|
@ -52,6 +52,9 @@ object UserDefTwo
|
|||
member dict1: UserDefTwoDict optional=False
|
||||
object UserDefThree
|
||||
member string0: str optional=False
|
||||
array UserDefOneList UserDefOne
|
||||
array UserDefTwoList UserDefTwo
|
||||
array TestStructList TestStruct
|
||||
object ForceArrays
|
||||
member unused1: UserDefOneList optional=False
|
||||
member unused2: UserDefTwoList optional=False
|
||||
|
@ -248,6 +251,7 @@ object __org.qemu_x-Union1
|
|||
member type: __org.qemu_x-Union1Kind optional=False
|
||||
tag type
|
||||
case __org.qemu_x-branch: q_obj_str-wrapper
|
||||
array __org.qemu_x-Union1List __org.qemu_x-Union1
|
||||
object __org.qemu_x-Struct2
|
||||
member array: __org.qemu_x-Union1List optional=False
|
||||
object __org.qemu_x-Union2
|
||||
|
@ -260,6 +264,8 @@ alternate __org.qemu_x-Alt
|
|||
case b: __org.qemu_x-Base
|
||||
event __ORG.QEMU_X-EVENT __org.qemu_x-Struct
|
||||
boxed=False
|
||||
array __org.qemu_x-EnumList __org.qemu_x-Enum
|
||||
array __org.qemu_x-StructList __org.qemu_x-Struct
|
||||
object q_obj___org.qemu_x-command-arg
|
||||
member a: __org.qemu_x-EnumList optional=False
|
||||
member b: __org.qemu_x-StructList optional=False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue