From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRIaD-0005Vy-Qs for qemu-devel@nongnu.org; Thu, 04 Feb 2016 07:00:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRIaA-0003F9-Iq for qemu-devel@nongnu.org; Thu, 04 Feb 2016 07:00:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRIaA-0003F3-5Z for qemu-devel@nongnu.org; Thu, 04 Feb 2016 07:00:18 -0500 Date: Thu, 4 Feb 2016 12:00:13 +0000 From: "Daniel P. Berrange" Message-ID: <20160204120013.GH30301@redhat.com> References: <1454510164-6278-1-git-send-email-famz@redhat.com> <1454510164-6278-4-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1454510164-6278-4-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, peter.maydell@linaro.org, Alex =?utf-8?Q?Benn=C3=A9e?= , qemu-devel@nongnu.org, stefanha@redhat.com, Paolo Bonzini , jsnow@redhat.com, david@gibson.dropbear.id.au On Wed, Feb 03, 2016 at 10:36:03PM +0800, Fam Zheng wrote: > Only fedora22 has the required toolchain so it's not run elsewhere. > > 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 Automated build tests should really pass explicit '--enable-xxx' flags for every feature we expect to be present. This means that if someone breaks feature detection in QEMU, we are more likely to see a build failure, rather than the feature being silently disabled for months on end. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|