[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling |
Date: |
Thu, 4 Feb 2016 12:00:13 +0000 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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 <address@hidden>
> ---
> 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 :|