On Mon, May 18, 2015 at 09:39:12AM +0800, Fam Zheng wrote: > 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 <f...@redhat.com> > --- > tests/qemu-iotests/check | 12 +++++++++--- > tests/qemu-iotests/common | 6 ++++++ > tests/qemu-iotests/iotests.py | 14 +++++++++++--- > 3 files changed, 26 insertions(+), 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
pgp5Wt3tz_Iyf.pgp
Description: PGP signature