From: Vladimir Sementsov-Ogievskiy Date: Thu, 30 Apr 2020 12:47:11 +0000 (+0300) Subject: iotests/055: skip vmdk target tests if vmdk is not whitelisted X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=761cd2e791eae38c3d08ea5f83309ce58bb85ff7;p=qemu.git iotests/055: skip vmdk target tests if vmdk is not whitelisted Signed-off-by: Vladimir Sementsov-Ogievskiy Message-Id: <20200430124713.3067-7-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf --- diff --git a/tests/qemu-iotests/055 b/tests/qemu-iotests/055 index d9e8985167..e250f798f9 100755 --- a/tests/qemu-iotests/055 +++ b/tests/qemu-iotests/055 @@ -566,6 +566,10 @@ class TestCompressedToQcow2(iotests.QMPTestCase): class TestCompressedToVmdk(TestCompressedToQcow2): target_fmt = {'type': 'vmdk', 'args': ('-o', 'subformat=streamOptimized')} + @iotests.skip_if_unsupported(['vmdk']) + def setUp(self): + pass + if __name__ == '__main__': iotests.main(supported_fmts=['raw', 'qcow2'],