[Top][All Lists]

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

Re: [Qemu-devel] [PATCH v2] qemu-iotests: Make debugging python tests ea

From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2] qemu-iotests: Make debugging python tests easier
Date: Mon, 18 May 2015 16:59:31 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 18.05.2015 um 03:39 hat Fam Zheng geschrieben:
> Adding "-d" option. The output goes to "tee" so it appears in your
> console. Also, raise the verbosity of unnitest runner.
> When testing a topic branch, it's possible that a bug introduced by a
> code change makes the python test case hang, with debug output, it is
> much easier to locate the problem.
> This can also be helpful if you want to watch the progress of a python
> test, it offers you a way to sense the speed of each test case method
> you're writing.
> Note: because there is no easy way to get *both* the verbose output and
> the output expected by ./check comparison, the case would always fail
> with an "output mismatch". The sole purpose of using this option is
> giving developers a quick way to debug when things go wrong.
> Signed-off-by: Fam Zheng <address@hidden>

Thanks, applied to the block branch.

Next step: Log all qemu-img/qemu-io output and QMP traffic when -d is
specified. :-)


reply via email to

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