summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@linaro.org>2022-12-01 19:43:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-01 19:20:29 +0000
commit891dfba7a0b3f6f717bdb27a48ba724b6f50e0c3 (patch)
treef9ad063260fb5951f8b20857e72dd9ea8f249334 /documentation/dev-manual
parent0825238c3df3aa518ba4971c622b843fa6c87cc1 (diff)
downloadpoky-891dfba7a0b3f6f717bdb27a48ba724b6f50e0c3.tar.gz
dev-manual/runtime-testing.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: 8d0d56cea5373c928feaaba316038c84130b52e7) 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/dev-manual')
-rw-r--r--documentation/dev-manual/runtime-testing.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/dev-manual/runtime-testing.rst b/documentation/dev-manual/runtime-testing.rst
index 77e1e6545f..24f3dd1511 100644
--- a/documentation/dev-manual/runtime-testing.rst
+++ b/documentation/dev-manual/runtime-testing.rst
@@ -341,21 +341,21 @@ You can start the tests automatically or manually:
341 341
342 bitbake -c testimage image 342 bitbake -c testimage image
343 343
344All test files reside in ``meta/lib/oeqa/runtime`` in the 344All test files reside in ``meta/lib/oeqa/runtime/cases`` in the
345:term:`Source Directory`. A test name maps 345:term:`Source Directory`. A test name maps
346directly to a Python module. Each test module may contain a number of 346directly to a Python module. Each test module may contain a number of
347individual tests. Tests are usually grouped together by the area tested 347individual tests. Tests are usually grouped together by the area tested
348(e.g tests for systemd reside in ``meta/lib/oeqa/runtime/systemd.py``). 348(e.g tests for systemd reside in ``meta/lib/oeqa/runtime/cases/systemd.py``).
349 349
350You can add tests to any layer provided you place them in the proper 350You can add tests to any layer provided you place them in the proper
351area and you extend :term:`BBPATH` in 351area and you extend :term:`BBPATH` in
352the ``local.conf`` file as normal. Be sure that tests reside in 352the ``local.conf`` file as normal. Be sure that tests reside in
353``layer/lib/oeqa/runtime``. 353``layer/lib/oeqa/runtime/cases``.
354 354
355.. note:: 355.. note::
356 356
357 Be sure that module names do not collide with module names used in 357 Be sure that module names do not collide with module names used in
358 the default set of test modules in ``meta/lib/oeqa/runtime``. 358 the default set of test modules in ``meta/lib/oeqa/runtime/cases``.
359 359
360You can change the set of tests run by appending or overriding 360You can change the set of tests run by appending or overriding
361:term:`TEST_SUITES` variable in 361:term:`TEST_SUITES` variable in
@@ -447,7 +447,7 @@ Writing New Tests
447As mentioned previously, all new test files need to be in the proper 447As mentioned previously, all new test files need to be in the proper
448place for the build system to find them. New tests for additional 448place for the build system to find them. New tests for additional
449functionality outside of the core should be added to the layer that adds 449functionality outside of the core should be added to the layer that adds
450the functionality, in ``layer/lib/oeqa/runtime`` (as long as 450the functionality, in ``layer/lib/oeqa/runtime/cases`` (as long as
451:term:`BBPATH` is extended in the 451:term:`BBPATH` is extended in the
452layer's ``layer.conf`` file as normal). Just remember the following: 452layer's ``layer.conf`` file as normal). Just remember the following:
453 453