tests/qemu-iotests: re-format output to for make check-block
commit70ff5b07fcdd378180ad2d5cc0b0d5e67e7ef325
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 3 May 2019 14:39:04 +0000 (3 15:39 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:51 +0000 (28 10:28 +0100)
tree5b11ccb7a0affd5c7c9ad3869fab5463e0c9b38d
parentd4271ce5b54b215875c4fc371211383781db5992
tests/qemu-iotests: re-format output to for make check-block

This attempts to clean-up the output to better match the output of the
rest of the QEMU check system when called with -makecheck. This includes:

  - formatting as "  TEST    iotest-FMT: nnn"
  - only dumping config on failure (when -makecheck enabled)

The non-make check output has been cleaned up as well:

  - line re-displayed (\r) at the end
  - fancy colours for pass/fail/skip
  - timestamps always printed (option removed)

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20190503143904.31211-1-alex.bennee@linaro.org>
Tested-by: Thomas Huth <thuth@redhat.com>
tests/qemu-iotests/check