diff options
author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2022-11-30 17:15:16 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:16:34 +0000 |
commit | 0d4f2a18360f018b8d843016f3a814fd9729696c (patch) | |
tree | cd13584aa7c2ab7a2708be1835b1e5393454caa6 /documentation | |
parent | 22530208422d1a5d0c6790d0f02c78f6e7052ce0 (diff) | |
download | poky-0d4f2a18360f018b8d843016f3a814fd9729696c.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: cc5b0d08b9706468ca6446fde44fe55b18cb84dc)
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.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index f301ffc693..648037d28b 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
@@ -8902,21 +8902,21 @@ You can start the tests automatically or manually: | |||
8902 | 8902 | ||
8903 | bitbake -c testimage image | 8903 | bitbake -c testimage image |
8904 | 8904 | ||
8905 | All test files reside in ``meta/lib/oeqa/runtime`` in the | 8905 | All test files reside in ``meta/lib/oeqa/runtime/cases`` in the |
8906 | :term:`Source Directory`. A test name maps | 8906 | :term:`Source Directory`. A test name maps |
8907 | directly to a Python module. Each test module may contain a number of | 8907 | directly to a Python module. Each test module may contain a number of |
8908 | individual tests. Tests are usually grouped together by the area tested | 8908 | individual tests. Tests are usually grouped together by the area tested |
8909 | (e.g tests for systemd reside in ``meta/lib/oeqa/runtime/systemd.py``). | 8909 | (e.g tests for systemd reside in ``meta/lib/oeqa/runtime/cases/systemd.py``). |
8910 | 8910 | ||
8911 | You can add tests to any layer provided you place them in the proper | 8911 | You can add tests to any layer provided you place them in the proper |
8912 | area and you extend :term:`BBPATH` in | 8912 | area and you extend :term:`BBPATH` in |
8913 | the ``local.conf`` file as normal. Be sure that tests reside in | 8913 | the ``local.conf`` file as normal. Be sure that tests reside in |
8914 | ``layer/lib/oeqa/runtime``. | 8914 | ``layer/lib/oeqa/runtime/cases``. |
8915 | 8915 | ||
8916 | .. note:: | 8916 | .. note:: |
8917 | 8917 | ||
8918 | Be sure that module names do not collide with module names used in | 8918 | Be sure that module names do not collide with module names used in |
8919 | the default set of test modules in ``meta/lib/oeqa/runtime``. | 8919 | the default set of test modules in ``meta/lib/oeqa/runtime/cases``. |
8920 | 8920 | ||
8921 | You can change the set of tests run by appending or overriding | 8921 | You can change the set of tests run by appending or overriding |
8922 | :term:`TEST_SUITES` variable in | 8922 | :term:`TEST_SUITES` variable in |
@@ -9009,7 +9009,7 @@ Writing New Tests | |||
9009 | As mentioned previously, all new test files need to be in the proper | 9009 | As mentioned previously, all new test files need to be in the proper |
9010 | place for the build system to find them. New tests for additional | 9010 | place for the build system to find them. New tests for additional |
9011 | functionality outside of the core should be added to the layer that adds | 9011 | functionality outside of the core should be added to the layer that adds |
9012 | the functionality, in ``layer/lib/oeqa/runtime`` (as long as | 9012 | the functionality, in ``layer/lib/oeqa/runtime/cases`` (as long as |
9013 | :term:`BBPATH` is extended in the | 9013 | :term:`BBPATH` is extended in the |
9014 | layer's ``layer.conf`` file as normal). Just remember the following: | 9014 | layer's ``layer.conf`` file as normal). Just remember the following: |
9015 | 9015 | ||