qemu-iotests: let "check" spawn an arbitrary test command
commit480b75ee1423ee6d8aba59cb8090d60eb97676ff
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 May 2021 11:01:09 +0000 (3 13:01 +0200)
committerMax Reitz <mreitz@redhat.com>
Fri, 14 May 2021 14:14:10 +0000 (14 16:14 +0200)
tree4e85a2de7a92f429b216e0fcfce4d18d95def0b2
parentc64430d2386d9968342a8e1ae00ed34ff0b98bbb
qemu-iotests: let "check" spawn an arbitrary test command

Right now there is no easy way for "check" to print a reproducer command.
Because such a reproducer command line would be huge, we can instead teach
check to start a command of our choice.  This can be for example a Python
unit test with arguments to only run a specific subtest.

Move the trailing empty line to print_env(), since it always looks better
and one caller was not adding it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tested-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20210323181928.311862-5-pbonzini@redhat.com>
Message-Id: <20210503110110.476887-5-pbonzini@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/check
tests/qemu-iotests/testenv.py
tests/qemu-iotests/testrunner.py