From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR9eu-0005RA-GY for qemu-devel@nongnu.org; Wed, 03 Feb 2016 21:28:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR9em-00080X-Ss for qemu-devel@nongnu.org; Wed, 03 Feb 2016 21:28:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR9em-00080R-N4 for qemu-devel@nongnu.org; Wed, 03 Feb 2016 21:28:28 -0500 Date: Thu, 4 Feb 2016 10:28:24 +0800 From: Fam Zheng Message-ID: <20160204022824.GE5187@ad.usersys.redhat.com> References: <1454510164-6278-1-git-send-email-famz@redhat.com> <1454510164-6278-4-git-send-email-famz@redhat.com> <56B22763.3060008@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56B22763.3060008@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: kwolf@redhat.com, peter.maydell@linaro.org, Alex =?iso-8859-1?Q?Benn=E9e?= , qemu-devel@nongnu.org, stefanha@redhat.com, Paolo Bonzini , jsnow@redhat.com, david@gibson.dropbear.id.au On Wed, 02/03 09:14, Eric Blake wrote: > On 02/03/2016 07:36 AM, Fam Zheng wrote: > > Only fedora22 has the required toolchain so it's not run elsewhere. > > Not fedora 23 or rawhide? In another year, when F22 is obsolete, this > will be dead code unless you meant for it to be >= F22. Good point, will address that. Thanks! Fam > > > > > Signed-off-by: Fam Zheng > > --- > > tests/docker/mingw.sh | 14 ++++++++++++++ > > 1 file changed, 14 insertions(+) > > create mode 100755 tests/docker/mingw.sh > > > > diff --git a/tests/docker/mingw.sh b/tests/docker/mingw.sh > > new file mode 100755 > > index 0000000..0f103cd > > --- /dev/null > > +++ b/tests/docker/mingw.sh > > @@ -0,0 +1,14 @@ > > +#!/bin/bash > > + > > +if [ "$IMAGE_TAG" != "fedora22" ]; then > > + echo "Mingw test skipped" > > + exit 0 > > +fi > > + > > +cd $(mktemp -d) > > +for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do > > + $QEMU_SRC/configuire --cross-prefix=$prefix \ > > + --target-list=x86_64-softmmu,aarch64-softmmu > > + make $MAKEFLAGS > > +done > > + > > > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org >