mirror of
https://github.com/qemu/qemu.git
synced 2025-08-13 18:46:38 +00:00

Demonstrate that the qapi generator doesn't deal well with enums that aren't up to par. Later patches will update the expected results as the generator is made stricter. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
6 lines
241 B
Plaintext
6 lines
241 B
Plaintext
[OrderedDict([('enum', 'UnionKind'), ('data', ['oops'])]),
|
|
OrderedDict([('union', 'Union'), ('data', OrderedDict([('a', 'int')]))])]
|
|
[{'enum_name': 'UnionKind', 'enum_values': ['oops']},
|
|
{'enum_name': 'UnionKind', 'enum_values': None}]
|
|
[]
|