iotests: Fix -makecheck output
commit0212fa2afd1e20c590f740036f5cb837e1177d53
authorKevin Wolf <kwolf@redhat.com>
Mon, 1 Feb 2021 16:10:24 +0000 (1 17:10 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Feb 2021 16:05:38 +0000 (2 17:05 +0100)
tree6298a74bc8ca964284aaca0400e8777ff387491b
parent3ae50942f161e2e8fa6ecd69a9c17b681d419905
iotests: Fix -makecheck output

For -makecheck, the old 'check' implementation skipped the output when
starting a test. It only had the condensed output at the end of a test.

testrunner.py prints the normal output when starting a test even for
-makecheck. This output contains '\r' at the end so that it can be
overwritten with the result at the end of the test. However, for
-makecheck this is shorter output in a different format, so effectively
we end up with garbled output that mixes both output forms.

Revert to the old behaviour of only printing a message after the test
had completed in -makecheck mode.

Fixes: d74c754c924ca34e90b7c96ce2f5609d82c0e628
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210201161024.127921-1-kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/testrunner.py