tests: refactor python I/O tests helper main method
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 21 Mar 2016 14:11:45 +0000 (14:11 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Mar 2016 09:59:32 +0000 (11:59 +0200)
commitc6a92369dc58345ce2df679313eac78c536db343
treee8a5a3b1a1cf491ef9ad3c8fafdbb422ddf1347d
parent491e5e85ef7f10946762b3827eaa62635593fced
tests: refactor python I/O tests helper main method

The iotests.py helper provides a main() method for running
tests via the python unit test framework. Not all tests
will want to use this, so refactor it to split the testing
of compatible formats and platforms into separate helper
methods

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py