mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 14:02:05 -06:00
tests: qapi-schema tests for allow-preconfig
use new allow-preconfig parameter in tests and make sure that the QAPISchema can parse allow-preconfig correctly Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1526058959-41425-1-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
d6fe3d02e9
commit
7b13f2c27a
12 changed files with 26 additions and 21 deletions
|
@ -45,8 +45,8 @@ class QAPISchemaTestVisitor(QAPISchemaVisitor):
|
|||
success_response, boxed, allow_oob, allow_preconfig):
|
||||
print('command %s %s -> %s' % \
|
||||
(name, arg_type and arg_type.name, ret_type and ret_type.name))
|
||||
print(' gen=%s success_response=%s boxed=%s oob=%s' % \
|
||||
(gen, success_response, boxed, allow_oob))
|
||||
print(' gen=%s success_response=%s boxed=%s oob=%s preconfig=%s' % \
|
||||
(gen, success_response, boxed, allow_oob, allow_preconfig))
|
||||
|
||||
def visit_event(self, name, info, arg_type, boxed):
|
||||
print('event %s %s' % (name, arg_type and arg_type.name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue