Re: [Qemu-block] [PATCH v4 3/7] iotests: Use case_skip() in skip_if_unsupported()

2019-09-17 Thread Andrey Shinkevich
On 17/09/2019 12:20, Max Reitz wrote: > skip_if_unsupported() should use the stronger variant case_skip(), > because this allows it to be used even with setUp() (in a meaningful > way). > > In the process, make it explicit what we expect the first argument of > the func_wrapper to be (namely

[Qemu-block] [PATCH v4 3/7] iotests: Use case_skip() in skip_if_unsupported()

2019-09-17 Thread Max Reitz
skip_if_unsupported() should use the stronger variant case_skip(), because this allows it to be used even with setUp() (in a meaningful way). In the process, make it explicit what we expect the first argument of the func_wrapper to be (namely something derived of QMPTestCase). Signed-off-by: Max