qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/3] tests: let qapi-schema tests detect oob


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 1/3] tests: let qapi-schema tests detect oob
Date: Wed, 21 Mar 2018 07:47:35 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/21/2018 01:55 AM, Peter Xu wrote:
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.

Signed-off-by: Peter Xu <address@hidden>
---
  tests/qapi-schema/doc-good.out          |  4 ++--
  tests/qapi-schema/ident-with-escape.out |  2 +-
  tests/qapi-schema/indented-expr.out     |  4 ++--
  tests/qapi-schema/qapi-schema-test.out  | 18 +++++++++---------
  tests/qapi-schema/test-qapi.py          |  4 ++--
  5 files changed, 16 insertions(+), 16 deletions(-)


+++ b/tests/qapi-schema/test-qapi.py
@@ -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))

Reviewed-by: Eric Blake <address@hidden>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]