OSDN Git Service

qemu-iotests: move command line and environment handling from TestRunner to TestEnv
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 May 2021 11:01:08 +0000 (13:01 +0200)
committerMax Reitz <mreitz@redhat.com>
Fri, 14 May 2021 14:14:10 +0000 (16:14 +0200)
commitc64430d2386d9968342a8e1ae00ed34ff0b98bbb
tree38e32f7f5a7e3c82e7f2532a58d06877611c38ce
parent00dbc85e0efd863498d52408b248039816c10532
qemu-iotests: move command line and environment handling from TestRunner to TestEnv

In the next patch, "check" will learn how to execute a test script without
going through TestRunner.  To enable this, keep only the text output
and subprocess handling in the TestRunner; move into TestEnv the logic
to prepare for running a subprocess.

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