OSDN Git Service

iotests: Add @use_log to VM.run_job()
authorMax Reitz <mreitz@redhat.com>
Wed, 3 Jul 2019 17:28:10 +0000 (19:28 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 15 Jul 2019 13:48:40 +0000 (15:48 +0200)
commit15427f63bccfaa0735612c30dcbc08e1f8deb17d
tree0e6729b0e53a274768f5324b7f2f50f096aa37ae
parent3f92d54c00ad707cb43c027a5dfc2a68510176f9
iotests: Add @use_log to VM.run_job()

unittest-style tests generally do not use the log file, but VM.run_job()
can still be useful to them.  Add a parameter to it that hides its
output from the log file.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190703172813.6868-10-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/iotests.py