Received: from eggs.gnu.org ([2001:4830:134:3::10]:41325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS5Eg-0000x5-Qr for qemu-devel@nongnu.org; Tue, 26 Jul 2016 12:29:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS5Ef-0004Vs-KN for qemu-devel@nongnu.org; Tue, 26 Jul 2016 12:29:38 -0400 References: <1469549767-27249-1-git-send-email-berrange@redhat.com> From: Max Reitz Message-ID: Date: Tue, 26 Jul 2016 18:29:27 +0200 MIME-Version: 1.0 In-Reply-To: <1469549767-27249-1-git-send-email-berrange@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pofJkFM6krvtIppvCH8DACuhK3EiWWOfl" Subject: Re: [Qemu-devel] [PATCH v2] iotest: fix python based IO tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pofJkFM6krvtIppvCH8DACuhK3EiWWOfl From: Max Reitz To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org Message-ID: Subject: Re: [PATCH v2] iotest: fix python based IO tests References: <1469549767-27249-1-git-send-email-berrange@redhat.com> In-Reply-To: <1469549767-27249-1-git-send-email-berrange@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 26.07.2016 18:16, Daniel P. Berrange wrote: > The previous commit refactoring iotests.py: >=20 > commit 66613974468fb6e1609fb3eabf55981b1ee436cf > Author: Daniel P. Berrange > Date: Wed Jul 20 14:23:10 2016 +0100 >=20 > scripts: refactor the VM class in iotests for reuse >=20 > was not properly tested and included a number of broken > bits. >=20 > - The 'event_match' method was not moved into qemu.py > - The 'self._args' list parameter in QEMUMachine needs > to be copied otherwise modifications will affect the > global 'qemu_opts' variable in iotests.py > - The QEMUQtestMachine class methods had inverted > parameter order for the super() calls > - The QEMUQtestMachine class forgot to add > '-machine accel=3Dqtest' > - The QEMUQtestMachine class constructor needs to set > a default 'name' value before using it as it may > be None > - The QEMUQtestMachine class constructor needs to use > named parameters when calling the super constructor > as it is leaving out some positional parameters. > - The 'qemu_prog' variable should be a string not a > list in iotests.py > - The VM classs constructor needs to use named > parameters when calling the super constructor > as it is leaving out some positional parameters. > - The path to the socket-scm-helper needs to be > passed into the QEMUMachine class >=20 > Signed-off-by: Daniel P. Berrange > --- > scripts/qemu.py | 32 ++++++++++++++++++++++++++------ > scripts/qtest.py | 19 ++++++++++++------- > tests/qemu-iotests/iotests.py | 24 ++++-------------------- > 3 files changed, 42 insertions(+), 33 deletions(-) Thanks, replaced v1 in my queue with this v2: https://github.com/XanClic/qemu/commits/block Max --pofJkFM6krvtIppvCH8DACuhK3EiWWOfl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEvBAEBCAAZBQJXl4/nEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisrQfv CACb0zFD7Q5ANCVw2bdZQ4e/ACF5LYO/f2FCXUzdGuT+h31xrHJOgBiRjD6Tb4V1 VGP1eQWWysuD7cG1HSryVvxbfBJfzAxb9TtPBYLvxQVX3CxQk3j7chH3W3ALllhB YffMm5AUOaWFR+3u2xySk2TAJxpGZrwC3RbuJxfutEaAPYi1nEelsXLj8DHi2veu m/zCVFmFtcLm1jM93hYSwZji+LIeZv5oS8Mcn2g9HsRwr3MW5PbMi+mOwIKh1QTs w2Qa9VFFGcUR5fG5KWfsIZL3xJDzoM/zokGuvQaFgWXwKiH61sPgO6kbFTop25Pg 7Kkj6IXZCnOflbet3xIudxnx =+RSh -----END PGP SIGNATURE----- --pofJkFM6krvtIppvCH8DACuhK3EiWWOfl--