mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00:00
tests/docker: update test-mingw to run single build
While the test-build test happily run for mingw the test-mingw case runs more of the packaging inline with what our CI does. It however fails if we don't find both compilers and expects to be run on a docker image with both. Remove that distinction and make it work more like the other build test scripts. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20221011113417.794841-3-alex.bennee@linaro.org>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
ba6b8d413f
commit
c70c76f087
@ -13,14 +13,12 @@
|
|||||||
|
|
||||||
. common.rc
|
. common.rc
|
||||||
|
|
||||||
requires_binary x86_64-w64-mingw32-gcc
|
requires_binary x86_64-w64-mingw32-gcc i686-w64-mingw32-gcc
|
||||||
requires_binary i686-w64-mingw32-gcc
|
|
||||||
|
|
||||||
cd "$BUILD_DIR"
|
cd "$BUILD_DIR"
|
||||||
|
|
||||||
for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
|
TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
|
||||||
TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
|
build_qemu \
|
||||||
build_qemu --cross-prefix=$prefix \
|
|
||||||
--enable-trace-backends=simple \
|
--enable-trace-backends=simple \
|
||||||
--enable-gnutls \
|
--enable-gnutls \
|
||||||
--enable-nettle \
|
--enable-nettle \
|
||||||
@ -29,8 +27,6 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
|
|||||||
--enable-bzip2 \
|
--enable-bzip2 \
|
||||||
--enable-guest-agent \
|
--enable-guest-agent \
|
||||||
--enable-docs
|
--enable-docs
|
||||||
install_qemu
|
install_qemu
|
||||||
make installer
|
make installer
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
done
|
|
||||||
|
Reference in New Issue
Block a user