summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@linaro.org>2022-11-30 17:15:16 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-01 19:16:38 +0000
commit7a5685ad740f81e16bd92eb8196bdb4b5d41fd24 (patch)
treec50b8e7efd43f9b4d87f15f0681c710bd4556672 /documentation
parent8a4021d2370155dce3bf193eafea4c1ee1054765 (diff)
downloadpoky-7a5685ad740f81e16bd92eb8196bdb4b5d41fd24.tar.gz
common-tasks.rst: fix oeqa runtime test path
It's "runtime/cases" in master and kirkstone. If layer specific tests are in "runtime" directory, they will not be found. (From yocto-docs rev: 23dcf002eec5136427554112af8679fc2b98e61d) 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')
-rw-r--r--documentation/dev-manual/common-tasks.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index fbe8a29896..65f94432ab 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -8901,21 +8901,21 @@ You can start the tests automatically or manually:
8901 8901
8902 bitbake -c testimage image 8902 bitbake -c testimage image
8903 8903
8904All test files reside in ``meta/lib/oeqa/runtime`` in the 8904All test files reside in ``meta/lib/oeqa/runtime/cases`` in the
8905:term:`Source Directory`. A test name maps 8905:term:`Source Directory`. A test name maps
8906directly to a Python module. Each test module may contain a number of 8906directly to a Python module. Each test module may contain a number of
8907individual tests. Tests are usually grouped together by the area tested 8907individual tests. Tests are usually grouped together by the area tested
8908(e.g tests for systemd reside in ``meta/lib/oeqa/runtime/systemd.py``). 8908(e.g tests for systemd reside in ``meta/lib/oeqa/runtime/cases/systemd.py``).
8909 8909
8910You can add tests to any layer provided you place them in the proper 8910You can add tests to any layer provided you place them in the proper
8911area and you extend :term:`BBPATH` in 8911area and you extend :term:`BBPATH` in
8912the ``local.conf`` file as normal. Be sure that tests reside in 8912the ``local.conf`` file as normal. Be sure that tests reside in
8913``layer/lib/oeqa/runtime``. 8913``layer/lib/oeqa/runtime/cases``.
8914 8914
8915.. note:: 8915.. note::
8916 8916
8917 Be sure that module names do not collide with module names used in 8917 Be sure that module names do not collide with module names used in
8918 the default set of test modules in ``meta/lib/oeqa/runtime``. 8918 the default set of test modules in ``meta/lib/oeqa/runtime/cases``.
8919 8919
8920You can change the set of tests run by appending or overriding 8920You can change the set of tests run by appending or overriding
8921:term:`TEST_SUITES` variable in 8921:term:`TEST_SUITES` variable in
@@ -9008,7 +9008,7 @@ Writing New Tests
9008As mentioned previously, all new test files need to be in the proper 9008As mentioned previously, all new test files need to be in the proper
9009place for the build system to find them. New tests for additional 9009place for the build system to find them. New tests for additional
9010functionality outside of the core should be added to the layer that adds 9010functionality outside of the core should be added to the layer that adds
9011the functionality, in ``layer/lib/oeqa/runtime`` (as long as 9011the functionality, in ``layer/lib/oeqa/runtime/cases`` (as long as
9012:term:`BBPATH` is extended in the 9012:term:`BBPATH` is extended in the
9013layer's ``layer.conf`` file as normal). Just remember the following: 9013layer's ``layer.conf`` file as normal). Just remember the following:
9014 9014