diff options
author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2023-06-15 14:26:33 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-16 17:31:06 +0100 |
commit | 7105586a68d0d1ef22f7bf03f748ad57b1f849b7 (patch) | |
tree | cf677d050dec14d4df9dc1c3c1b025027c4af82a /documentation/test-manual | |
parent | 71b672b191afa8cd26dcb0934d293bac8eda0979 (diff) | |
download | poky-7105586a68d0d1ef22f7bf03f748ad57b1f849b7.tar.gz |
reproducible-builds.rst: document OEQA_REPRODUCIBLE_TEST_TARGET and OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS
They are used to fine tune build reproducibility test for
different build targets than "bitbake world" and to define
which recipes can be rebuild using sstate cache.
These are useful when ramping up build reproducibility in complex
build configurations where "bitbake world" has too many failures.
(From yocto-docs rev: c74928b1a7b2f285ed70999539f0c630316ad364)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/test-manual')
-rw-r--r-- | documentation/test-manual/reproducible-builds.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/documentation/test-manual/reproducible-builds.rst b/documentation/test-manual/reproducible-builds.rst index 50256fb197..d4b828b2d6 100644 --- a/documentation/test-manual/reproducible-builds.rst +++ b/documentation/test-manual/reproducible-builds.rst | |||
@@ -103,10 +103,12 @@ run:: | |||
103 | oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds | 103 | oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds |
104 | 104 | ||
105 | This defaults to including a ``world`` build so, if other layers are added, it would | 105 | This defaults to including a ``world`` build so, if other layers are added, it would |
106 | also run the tests for recipes in the additional layers. The first build will be | 106 | also run the tests for recipes in the additional layers. Different build targets |
107 | run using :ref:`Shared State <overview-manual/concepts:Shared State>` if | 107 | can be defined using the :term:`OEQA_REPRODUCIBLE_TEST_TARGET` variable in ``local.conf``. |
108 | The first build will be run using :ref:`Shared State <overview-manual/concepts:Shared State>` if | ||
108 | available, the second build explicitly disables | 109 | available, the second build explicitly disables |
109 | :ref:`Shared State <overview-manual/concepts:Shared State>` and builds on the | 110 | :ref:`Shared State <overview-manual/concepts:Shared State>` except for recipes defined in |
111 | the :term:`OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS` variable, and builds on the | ||
110 | specific host the build is running on. This means we can test reproducibility | 112 | specific host the build is running on. This means we can test reproducibility |
111 | builds between different host distributions over time on the Autobuilder. | 113 | builds between different host distributions over time on the Autobuilder. |
112 | 114 | ||