[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 2/4] tests/docker: update test-mingw to run single build
From: |
Alex Bennée |
Subject: |
[PATCH v1 2/4] tests/docker: update test-mingw to run single build |
Date: |
Tue, 11 Oct 2022 12:34:15 +0100 |
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>
---
tests/docker/test-mingw | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw
index 0bc6d78872..18366972eb 100755
--- a/tests/docker/test-mingw
+++ b/tests/docker/test-mingw
@@ -13,14 +13,12 @@
. common.rc
-requires_binary x86_64-w64-mingw32-gcc
-requires_binary i686-w64-mingw32-gcc
+requires_binary x86_64-w64-mingw32-gcc i686-w64-mingw32-gcc
cd "$BUILD_DIR"
-for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
- TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
- build_qemu --cross-prefix=$prefix \
+TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
+build_qemu \
--enable-trace-backends=simple \
--enable-gnutls \
--enable-nettle \
@@ -29,8 +27,6 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
--enable-bzip2 \
--enable-guest-agent \
--enable-docs
- install_qemu
- make installer
- make clean
-
-done
+install_qemu
+make installer
+make clean
--
2.34.1
- [PATCH v1 0/4] testing/next hotfix (revert bios build, mingw), Alex Bennée, 2022/10/11
- [PATCH v1 2/4] tests/docker: update test-mingw to run single build,
Alex Bennée <=
- [PATCH v1 3/4] Revert "configure: build ROMs with container-based cross compilers", Alex Bennée, 2022/10/11
- [PATCH v1 4/4] configure: expose the direct container command, Alex Bennée, 2022/10/11
- [PATCH v1 1/4] tests/docker: update fedora-win[32|64]-cross with lcitool, Alex Bennée, 2022/10/11
- Re: [PATCH v1 0/4] testing/next hotfix (revert bios build, mingw), Stefan Hajnoczi, 2022/10/11