From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7rm6-0007d4-RT for qemu-devel@nongnu.org; Wed, 14 Mar 2012 13:14:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7rm2-0001wH-7S for qemu-devel@nongnu.org; Wed, 14 Mar 2012 13:14:10 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:34103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7rm2-0001w1-0j for qemu-devel@nongnu.org; Wed, 14 Mar 2012 13:14:06 -0400 Message-ID: <4F60D1DA.9020206@weilnetz.de> Date: Wed, 14 Mar 2012 18:14:02 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1331707448-3880-1-git-send-email-sw@weilnetz.de> <4F60607C.8050102@redhat.com> <4F609FA4.5020008@redhat.com> In-Reply-To: <4F609FA4.5020008@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3] w32: Support tests (make check) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Paolo Bonzini , Anthony Liguori , qemu-devel@nongnu.org, =?ISO-8859-15?Q?Andreas_F=E4rber?= Am 14.03.2012 14:39, schrieb Paolo Bonzini: > Il 14/03/2012 10:10, Kevin Wolf ha scritto: >> I have no idea if there's any chance of qemu-iotests successfully on >> win32, but in order to make it actually run I think you would have to >> change the file names in tests/qemu-iotests-quick.sh as well. > > I think the shell is able to add the suffix automatically, it's just > make that needs it explicitly. > > Paolo Yes, tests/qemu-iotests-quick.sh does not need a patch to run the iotests on w32 or w64. There are some other issues to solve for MinGW based hosts: * hostname does not support -s (is this option really needed?) * there is no bc command (maybe the shell would be enough) * TEST_DIR must not be an absolute path * qemu-io does not read from stdin * wrong order of arguments to qemu-io -c write, read * other small issues All these points can be fixed, and I already did run some of the tests. The patch here only fixes make. Without it, make fails with linker errors. Regards, Stefan W.