Alex Bennée
0fd8f7a2df
tests/docker: flatten debian-powerpc-test-cross
...
Flatten into a single dockerfile. We really don't need the rest of the
stuff from the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-15-alex.bennee@linaro.org >
2022-09-20 16:27:31 +01:00
Alex Bennée
6ede0767ba
tests/docker: update and flatten debian-sparc64-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-14-alex.bennee@linaro.org >
2022-09-20 16:27:28 +01:00
Alex Bennée
376c4109af
tests/docker: update and flatten debian-sh4-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-13-alex.bennee@linaro.org >
2022-09-20 16:27:24 +01:00
Alex Bennée
2d2a154be7
tests/docker: update and flatten debian-mips64-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-12-alex.bennee@linaro.org >
2022-09-20 16:27:20 +01:00
Alex Bennée
7785500236
tests/docker: update and flatten debian-m68k-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-11-alex.bennee@linaro.org >
2022-09-20 16:27:17 +01:00
Alex Bennée
8b03418760
tests/docker: update and flatten debian-hppa-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-10-alex.bennee@linaro.org >
2022-09-20 16:27:12 +01:00
Alex Bennée
d9df358f53
tests/docker: update and flatten debian-alpha-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-9-alex.bennee@linaro.org >
2022-09-20 16:27:08 +01:00
Richard Henderson
b70ec50b9d
tests/docker/dockerfiles: Add debian-loongarch-cross.docker
...
Use the pre-packaged toolchain provided by Loongson via github.
Tested-by: Song Gao <gaosong@loongson.cn >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220704070824.965429-1-richard.henderson@linaro.org >
2022-07-19 21:53:58 +05:30
Alex Bennée
ab698a4d8b
tests/docker: fix the IMAGE for build invocation
...
We inadvertently broke the ability to run local builds when the code
was re-factored. The result was the run stanza failing to find the
docker image with it's qemu/ prefix.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Fixes: d39eaa2266 ("tests/docker: simplify docker-TEST@IMAGE targets")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220613171258.1905715-5-alex.bennee@linaro.org >
2022-06-14 00:15:06 +01:00
Alex Bennée
4ec740e12d
tests/docker: update debian-ppc64el-cross with lcitool
...
Use lcitool to update debian-ppc64el-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-11-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
1e834d1714
tests/docker: update debian-mips64el-cross with lcitool
...
Use lcitool to update debian-mips64el-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-10-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
432ae739c6
tests/docker: update debian-mipsel-cross with lcitool
...
Use lcitool to update debian-mipsel-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-9-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
9480624187
tests/docker: update debian-armel-cross with lcitool
...
Use lcitool to update debian-armel-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-8-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
18ad049d90
tests/docker: update debian-armhf-cross with lcitool
...
Use lcitool to update debian-armhf-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-7-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Paolo Bonzini
77162849a6
tests/docker: remove SKIP_DOCKER_BUILD
...
It is now unused.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-17-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-20-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
426045aed8
tests/docker: do not duplicate rules for hexagon-cross
...
The commands for docker-image-debian-hexagon-cross are the same as those
in debian-toolchain-run, just with a nonstandard path to build-toolchain.sh.
Reuse the definition by renaming the debian-hexagon-cross.docker.d directory.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-9-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-12-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
d39eaa2266
tests/docker: simplify docker-TEST@IMAGE targets
...
No need to go through the shell when we already have the test and images at
the point where the targets are declared.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-8-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-11-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
bbb5ba8633
tests/docker: remove unnecessary filtering of $(DOCKER_IMAGES)
...
Now that DOCKER_IMAGES is only defined after DOCKER_VIRTUAL_IMAGES is
complete, there is no need to re-filter DOCKER_IMAGES against it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-7-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-10-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
79bd3ae9d3
tests/docker: inline variable definitions or move close to use
...
Variables that are defined with ":=" are handled imperatively, so moving
them closer to the first use ensures that all the assignments prior to
the first use are taken into account.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-6-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-9-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
1d64909543
tests/docker: remove unnecessary default definitions
...
The definition of DOCKER_IMAGES and DOCKER_TESTS copes already with an
empty value of $(IMAGES) and $(TESTS), no need to force them to "%" if
undefined.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-5-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-8-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
681b685571
tests/docker: remove dead variable
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20220401141326.1244422-4-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-7-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
28766b9eb4
tests/docker: remove test targets
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-3-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-6-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
42ae4b0ef4
tests/docker: remove dead code for linux-user containers
...
debian-powerpc-user-cross was the only linux-user powered cross builder
and it was removed in commit 80394ccf21 ("tests/docker: remove
debian-powerpc-user-cross", 2019-09-26). Remove all the infrastructure
around it since it is now unused.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20220401141326.1244422-2-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-5-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Alex Bennée
7d5817a426
tests/docker: introduce debian-riscv64-test-cross
...
Cross building QEMU for riscv64 still involves messing about with sid
and ports. However for building tests we can have a slimmer compiler
only container which should be more stable.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-7-alex.bennee@linaro.org >
2022-02-28 16:42:02 +00:00
Alex Bennée
89767579ca
tests/docker: update debian-s390x-cross with lcitool
...
A later compiler is needed for some upcomming tests so we might as
well migrate to an lcitool generated docker file.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Cc: David Hildenbrand <david@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-6-alex.bennee@linaro.org >
2022-02-28 16:42:02 +00:00
Alex Bennée
e3000245a0
tests/docker: update debian-arm64-cross with lcitool
...
Using lcitool update debian-arm64-cross to a Debian 11 based system.
As a result we can drop debian-arm64-test-cross just for building
tests.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-5-alex.bennee@linaro.org >
2022-02-28 16:42:02 +00:00
Alex Bennée
5dbefb87aa
tests/docker: add NOUSER for alpine image
...
The alpine image doesn't have a standard useradd binary so disable
this convenience feature for it.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-3-alex.bennee@linaro.org >
2022-02-28 16:41:53 +00:00
Alex Bennée
be20302ae8
tests/docker: restore TESTS/IMAGES filtering
...
This was broken in the re-factor:
e86c9a64f4 ("tests/docker/Makefile.include: add a generic docker-run target")
Rather than unwind the changes just apply the filters to the total set
of available images and tests. That way we don't inadvertently build
images only not to use them later.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reported-by: Alex Williamson <alex.williamson@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-2-alex.bennee@linaro.org >
2022-02-28 16:41:44 +00:00
Alex Bennée
d47e3751b5
tests/docker: force NOUSER=1 for base images
...
As base images are often used to build further images like toolchains
ensure we don't add the local user by accident. The local user should
only exist on local images and not anything that gets pushed up to the
public registry.
Reported-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20211115142915.3797652-2-alex.bennee@linaro.org >
2021-11-16 16:19:44 +00:00
Alex Bennée
a7181a2876
tests/docker: split PARTIAL into PARTIAL and VIRTUAL images
...
This is mostly to ensure we don't include the toolchain and bootstrap
builds in DOCKER_IMAGES which is useful when verifying all images
still build.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20211026102234.3961636-10-alex.bennee@linaro.org >
2021-11-04 10:32:01 +00:00
Richard Henderson
b58a4e688a
tests/docker: Add debian-microblaze-cross image
...
Build the entire cross tool chain from source.
For this reason, default to caching.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
[AJB: Update MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20211014224435.2539547-7-richard.henderson@linaro.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20211026102234.3961636-7-alex.bennee@linaro.org >
2021-11-04 10:32:00 +00:00
Richard Henderson
2eb4461ad5
tests/docker: Add debian-nios2-cross image
...
Build the entire cross tool chain from source.
For this reason, default to caching.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
[AJB: honour NOUSER in cached fetch and build, update MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20211014224435.2539547-6-richard.henderson@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Message-Id: <20211026102234.3961636-6-alex.bennee@linaro.org >
2021-11-04 10:31:32 +00:00
Alex Bennée
17888749ba
tests/docker: add a debian-native image and make available
...
This image is intended for building whatever the native versions of
QEMU are for the host architecture. This will hopefully be an aid for
3rd parties who want to be able to build QEMU themselves without
redoing all the dependencies themselves.
We disable the registry because we currently don't have multi-arch
support there.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Tested-by: Anders Roxell <anders.roxell@linaro.org >
Acked-by: Willian Rampazzo <willianr@redhat.com >
Message-Id: <20210922151528.2192966-1-alex.bennee@linaro.org >
2021-10-12 08:38:10 +01:00
Alex Bennée
5c24acf320
tests/docker: promote debian-riscv64-cross to a full image
...
To be able to cross build QEMU itself we need to include a few more
libraries. These are only available in Debian's unstable ports repo
for now so we need to base the riscv64 image on sid with the the
minimal libs needed to build QEMU (glib/pixman).
The result works but is not as clean as using build-dep to bring in
more dependencies. However sid is by definition a shifting pile of
sand and by keeping the list of libs minimal we reduce the chance of
having an image we can't build. It's good enough for a basic cross
build testing of TCG.
Cc: "Daniel P. Berrangé" <berrange@redhat.com >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20210914185830.1378771-2-richard.henderson@linaro.org >
[AJB: tweak allow_failure]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20210917162332.3511179-5-alex.bennee@linaro.org >
2021-10-12 08:37:05 +01:00
Richard Henderson
6a2b0fd171
tests/docker: Remove fedora-i386-cross from DOCKER_PARTIAL_IMAGES
...
The image was upgraded to a full image in ee381b7fe1 .
This makes it possible to use docker-test@image syntax
with this container.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20210930163636.721311-2-richard.henderson@linaro.org >
2021-10-05 16:53:17 -07:00
Matheus Ferst
cf9b6d215e
tests/docker: gcc-10 based images for ppc64{,le} tests
...
A newer compiler is needed to build tests for Power10 instructions. As
done for arm64 on c729a99d27 , a new '-test-cross' image is created for
ppc64 and ppc64le. As done on 936fda4d77 , a test for compiler support
is added to verify that the toolchain in use has '-mpower10'. Finally,
Unused images (docker-power-cross and docker-ppc64-cross) are removed.
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20210423205757.1752480-2-matheus.ferst@eldorado.org.br >
Message-Id: <20210512102051.12134-27-alex.bennee@linaro.org >
2021-05-18 09:36:21 +01:00
Alessandro Di Federico
afbdf0a44e
docker: Add Hexagon image
...
This image is a little special because it takes a long time to build.
As such most users don't want to be doing that and just pull random
binaries from the ether as intended by the container gods. This
involves someone with credentials and a beefy machine running:
make docker-image-debian-hexagon-cross V=1 NOCACHE=1 J=30
docker tag qemu/debian-hexagon-cross registry.gitlab.com/qemu-project/qemu/qemu/debian-hexagon-cross
docker push registry.gitlab.com/qemu-project/qemu/qemu/debian-hexagon-cross
With a suitable binary in the "cloud" a normal user will run:
make docker-image-debian-hexagon-cross
or have it run for them through the dependency mechanism of our
over-engineered makefiles and get the binary they wanted. There are a
few wrinkles of course including needing to tweak the final image to
have the credentials of the user so we can actually do our cross
compiles.
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Cc: Alessandro Di Federico <ale@rev.ng >
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org >
Cc: Brian Cain <bcain@quicinc.com >
Message-Id: <20210512102051.12134-7-alex.bennee@linaro.org >
2021-05-18 09:35:39 +01:00
Alex Bennée
8d628d075d
tests/docker: make executable an optional argument to "update"
...
We're going to extend the abilities of the command shortly.
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20210512102051.12134-4-alex.bennee@linaro.org >
2021-05-18 09:35:39 +01:00
Alex Bennée
34019198a1
tests/docker: don't set DOCKER_REGISTRY on non-x86_64
...
Currently our gitlab registry is x86_64 only so attempting to pull an
image from it on something else will end in tears.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20210401102530.12030-3-alex.bennee@linaro.org >
2021-04-06 15:04:42 +01:00
Daniel P. Berrangé
d79f5c8b23
tests/docker: remove travis container
...
The travis container that we have no longer matches what travis
currently uses. As all x86 jobs are being moved to GitLab CI too,
there is no compelling reason to update the travis container. It
is simpler to just remove it.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Message-Id: <20210209135011.1224992-2-berrange@redhat.com >
Message-Id: <20210211122750.22645-9-alex.bennee@linaro.org >
2021-02-15 09:38:33 +00:00
Alex Bennée
ddd5ed8331
tests/docker: add a docker-exec-copy-test
...
This provides test machinery for checking the QEMU copying logic works
properly. It takes considerably less time to run than starting a
debootstrap only for it to fail later. I considered adding a remove
command to docker.py but figured that might be gold plating given the
relative size of the containers compared to the ones with actual stuff
in them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20210202134001.25738-7-alex.bennee@linaro.org >
2021-02-08 09:41:00 +00:00
Alex Bennée
6147c2495d
tests/docker: alias docker-help target for consistency
...
We have a bunch of -help targets so this will save some cognitive
dissonance. Keep the original for those with muscle memory.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20210202134001.25738-6-alex.bennee@linaro.org >
2021-02-08 09:41:00 +00:00
Philippe Mathieu-Daudé
dc23bbc3df
tests/docker: Fix typo in help message
...
To have the variable properly passed, we need to set it,
ie. NOUSER=1. Fix the message displayed by 'make docker'.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20210119052120.522069-1-f4bug@amsat.org >
Message-Id: <20210202134001.25738-3-alex.bennee@linaro.org >
2021-02-08 09:41:00 +00:00
Philippe Mathieu-Daudé
8714e811a5
tests/docker: Remove Debian 9 remnant lines
...
Debian 9 base container has been removed in commits
e3755276d1 and c9d78b06c0 . Remove the last remnants.
Fixes: e3755276d1 ("tests/docker: Remove old Debian 9 containers")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Message-Id: <20210107072933.3828450-1-f4bug@amsat.org >
Message-Id: <20210114165730.31607-2-alex.bennee@linaro.org >
2021-01-18 10:04:31 +00:00
Thomas Huth
c9d78b06c0
tests/docker: Remove the remainders of debian9 containers from the Makefile
...
The Debian 9 containers have been removed a while ago, so we can
delete the corresponding entries in the Makefile, too.
Fixes: e3755276d1 ("tests/docker: Remove old Debian 9 containers")
Signed-off-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Message-Id: <20201215083318.92205-1-thuth@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
2021-01-02 21:03:09 +01:00
Thomas Huth
cf63177e59
tests/docker: Update the tricore container to debian 10
...
We do not support Debian 9 anymore, thus update the Tricore container
to Debian 10 now.
Signed-off-by: Thomas Huth <thuth@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20200921174320.46062-4-thuth@redhat.com >
Message-Id: <20200925154027.12672-12-alex.bennee@linaro.org >
2020-10-02 12:29:08 +01:00
Paolo Bonzini
17cd6e2bbf
docker.py: always use --rm
...
Avoid that containers pile up.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2020-09-18 10:44:47 +01:00
Paolo Bonzini
660f793093
Makefile: inline the relevant parts of rules.mak
...
Most of rules.mak is not used anymore, just inline what's needed.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-09-08 11:43:16 +02:00
Alex Bennée
182ec06076
tests/docker: fix binfmt_misc image building
...
When we updated the arguments for docker.py we missed a bit.
Fixes: dfae628459 ("docker.py/build: support -t and -f arguments")
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20200724064509.331-11-alex.bennee@linaro.org >
2020-07-27 09:41:22 +01:00
Alex Bennée
27ebeda0c0
tests/docker: add a linux-user testing focused image
...
We happily use all the cross images for both cross-building QEMU as
well as building the linux-user tests. However calling docker from
within docker seems not to work. As we can build in Debian anyway why
not include an image that has all the compilers available for
non-docker invocation.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20200701135652.1366-33-alex.bennee@linaro.org >
2020-07-11 15:53:00 +01:00