[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] qemu-iotests: Disable Quorum testing in 041
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2] qemu-iotests: Disable Quorum testing in 041 when Quorum is not builtin |
Date: |
Mon, 30 Jun 2014 16:09:57 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Jun 27, 2014 at 10:17:16PM +0200, Benoît Canet wrote:
I think this patch can be boiled down to 2 lines:
if __name__ == '__main__':
+ if 'quorum' not in iotests.qemu_img('--help'):
+ iotests.notrun('not built with quorum support')
iotests.main(supported_fmts=['qcow2', 'qed'])
What do you think?
pgp04enF83uVY.pgp
Description: PGP signature