diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2021-02-22 10:14:53 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-02-24 11:05:21 +0000 |
commit | 663a041e1dff50eaa66c8d2b01ade1ac8cd65619 (patch) | |
tree | 292e72b9fa829a1c7c5eab9691da60a39553e7aa | |
parent | d98946450d82d2b46c3cc93e22cee2b189f019b0 (diff) | |
download | qemu-663a041e1dff50eaa66c8d2b01ade1ac8cd65619.zip qemu-663a041e1dff50eaa66c8d2b01ade1ac8cd65619.tar.gz qemu-663a041e1dff50eaa66c8d2b01ade1ac8cd65619.tar.bz2 |
docs/devel: expand on use of containers to build tests
Expand on the usage of containers for building tests and why we have
some that are not used to build QEMU itself.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>
Message-Id: <20210222101455.12640-5-alex.bennee@linaro.org>
-rw-r--r-- | docs/devel/testing.rst | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 00ce16d..488d4e3 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -272,10 +272,10 @@ Note that the following group names have a special meaning: - disabled: Tests in this group are disabled and ignored by check. -.. _docker-ref: +.. _container-ref: -Docker based tests -================== +Container based tests +===================== Introduction ------------ @@ -1001,10 +1001,17 @@ for the architecture in question, for example:: There is also a ``--cross-cc-flags-ARCH`` flag in case additional compiler flags are needed to build for a given target. -If you have the ability to run containers as the user you can also -take advantage of the build systems "Docker" support. It will then use -containers to build any test case for an enabled guest where there is -no system compiler available. See :ref:`docker-ref` for details. +If you have the ability to run containers as the user the build system +will automatically use them where no system compiler is available. For +architectures where we also support building QEMU we will generally +use the same container to build tests. However there are a number of +additional containers defined that have a minimal cross-build +environment that is only suitable for building test cases. Sometimes +we may use a bleeding edge distribution for compiler features needed +for test cases that aren't yet in the LTS distros we support for QEMU +itself. + +See :ref:`container-ref` for more details. Running subset of tests ----------------------- |