diff options
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 | ||
