diff mbox series

[18/18] test-manual/runtime-testing.rst: fix wrong BBPATH statements

Message ID 20261202-layer-conf-changes-v1-18-da34d4c770c6@bootlin.com
State New
Headers show
Series docs: refresh after layer configuration format changes | expand

Commit Message

Antonin Godard Dec. 2, 2026, 2:55 p.m. UTC
The statements used to say the testimage was looking for tests with
BBPATH: this is wrong. In testimage.bbclass:get_runtime_paths(), the
code iterates directly with BBLAYERS variable.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/test-manual/runtime-testing.rst | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/documentation/test-manual/runtime-testing.rst b/documentation/test-manual/runtime-testing.rst
index 5a7193f01..951017c18 100644
--- a/documentation/test-manual/runtime-testing.rst
+++ b/documentation/test-manual/runtime-testing.rst
@@ -344,10 +344,10 @@  directly to a Python module. Each test module may contain a number of
 individual tests. Tests are usually grouped together by the area tested
 (e.g tests for systemd reside in ``meta/lib/oeqa/runtime/cases/systemd.py``).
 
-You can add tests to any layer provided you place them in the proper
-area and you extend :term:`BBPATH` in
-the :ref:`structure-build-conf-local.conf` file as normal. Be sure that tests reside in
-``layer/lib/oeqa/runtime/cases``.
+You can add tests to any layer provided you place them in
+``<layer>/lib/oeqa/runtime/cases``. The :ref:`ref-classes-testimage` class
+iterates through the :term:`BBLAYERS` variable and tries to find this
+directory for each layer.
 
 .. note::
 
@@ -449,9 +449,8 @@  Writing New Tests
 As mentioned previously, all new test files need to be in the proper
 place for the build system to find them. New tests for additional
 functionality outside of the core should be added to the layer that adds
-the functionality, in ``layer/lib/oeqa/runtime/cases`` (as long as
-:term:`BBPATH` is extended in the
-layer's ``layer.conf`` file as normal). Just remember the following:
+the functionality, in ``layer/lib/oeqa/runtime/cases``. Just remember the
+following:
 
 -  Filenames need to map directly to test (module) names.