iotests: Hide timestamps for skipped tests
commit835d689d257ddc8893febf6e93747c201614d078
authorMax Reitz <mreitz@redhat.com>
Thu, 13 Jun 2019 18:37:27 +0000 (13 20:37 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 18 Jun 2019 14:41:09 +0000 (18 16:41 +0200)
tree77debacf9c9dc73679a31577fccde22c0dac045d
parentcdfaa2720f4a09e5254868bd1f6e33f3e9eae76f
iotests: Hide timestamps for skipped tests

Currently, the "thistime" variable is not reinitialized on every loop
iteration.  This leads to tests that do not yield a run time (because
they failed or were skipped) printing the run time of the previous test
that did.  Fix that by reinitializing "thistime" for every test.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/check