qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/3] iotests: Use -qmp-pretty in 067


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 3/3] iotests: Use -qmp-pretty in 067
Date: Wed, 12 Nov 2014 09:34:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 2014-11-12 at 05:51, Eric Blake wrote:
On 11/11/2014 06:34 AM, Max Reitz wrote:
067 invokes query-block, resulting in a reference output with really
long lines (which may pose a problem in email patches and always poses a
problem when the output changes, because it is hard to see what has
actually changed). Use -qmp-pretty to mitigate this issue.

Signed-off-by: Max Reitz <address@hidden>
---
  tests/qemu-iotests/067     |   2 +-
  tests/qemu-iotests/067.out | 779 +++++++++++++++++++++++++++++++++++++++++----
  2 files changed, 723 insertions(+), 58 deletions(-)
Large, but mechanical.  I'm trusting this one is correct (if the
testsuite still passes, you did it right) rather than actually reading it :)

Yes, for me "Passes before and the output afterwards still makes sense when skipping through" was enough.

Max

Reviewed-by: Eric Blake <address@hidden>

diff --git a/tests/qemu-iotests/067 b/tests/qemu-iotests/067
index d025192..29cd6b5 100755
--- a/tests/qemu-iotests/067
+++ b/tests/qemu-iotests/067
@@ -39,7 +39,7 @@ _supported_os Linux
  function do_run_qemu()
  {
      echo Testing: "$@"
-    $QEMU -nographic -qmp stdio -serial none "$@"
+    $QEMU -nographic -qmp-pretty stdio -serial none "$@"
Such a trivial change for inducing over 700 lines of change in the
expected output :)



reply via email to

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