mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-22 17:42:10 -06:00
tests: let qapi-schema tests detect oob
The allow_oob parameter was passed in but not used in tests. Now reflect that in the tests, so we need to touch up other command testers with that new change. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180326063901.27425-6-peterx@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
9408860165
commit
4bebca1e42
5 changed files with 16 additions and 16 deletions
|
@ -45,8 +45,8 @@ class QAPISchemaTestVisitor(QAPISchemaVisitor):
|
|||
gen, success_response, boxed, allow_oob):
|
||||
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' % \
|
||||
(gen, success_response, boxed))
|
||||
print(' gen=%s success_response=%s boxed=%s oob=%s' % \
|
||||
(gen, success_response, boxed, allow_oob))
|
||||
|
||||
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