[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: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling |
Date: |
Thu, 4 Feb 2016 10:29:44 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, 02/03 16:08, Stefan Weil wrote:
> Am 03.02.2016 um 15:36 schrieb Fam Zheng:
> > 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 \
>
> configure?
Yes, how could I not notice the type? @.@
>
> > + --target-list=x86_64-softmmu,aarch64-softmmu
> > + make $MAKEFLAGS
> > +done
> > +
>
> I suggest to add a trace backend as well (my tests run with
> --enable-trace-backend=stderr, so maybe you want to choose
> a different one).
Will do.
>
> Another useful option for configure is --enable-debug.
> The compilation will be much faster and detect nearly
> the same kind of problems as the standard compilation
> (use of uninitialized variables won't be detected).
OK.
Thanks for taking a look!
Fam
>
> Regards,
> Stefan
>
- [Qemu-devel] [RFC PATCH 0/4] tests: Introducing docker tests, Fam Zheng, 2016/02/03
- [Qemu-devel] [RFC PATCH 1/4] tests: Introduce Docker based tests, Fam Zheng, 2016/02/03
- [Qemu-devel] [RFC PATCH 2/4] tests: Add clang docker test, Fam Zheng, 2016/02/03
- [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling, Fam Zheng, 2016/02/03
- Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling, Eric Blake, 2016/02/03
- Re: [Qemu-devel] [RFC PATCH 3/4] tests: Add mingw 32/64 cross compiling, Daniel P. Berrange, 2016/02/04
- [Qemu-devel] [RFC PATCH 4/4] tests: Add travis container test case, Fam Zheng, 2016/02/03
- Re: [Qemu-devel] [RFC PATCH 0/4] tests: Introducing docker tests, Stefan Hajnoczi, 2016/02/03