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 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 | ||
8904 | All test files reside in ``meta/lib/oeqa/runtime`` in the | 8904 | All 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 |
8906 | directly to a Python module. Each test module may contain a number of | 8906 | directly to a Python module. Each test module may contain a number of |
8907 | individual tests. Tests are usually grouped together by the area tested | 8907 | individual 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 | ||
8910 | You can add tests to any layer provided you place them in the proper | 8910 | You can add tests to any layer provided you place them in the proper |
8911 | area and you extend :term:`BBPATH` in | 8911 | area and you extend :term:`BBPATH` in |
8912 | the ``local.conf`` file as normal. Be sure that tests reside in | 8912 | the ``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 | ||
8920 | You can change the set of tests run by appending or overriding | 8920 | You 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 | |||
9008 | As mentioned previously, all new test files need to be in the proper | 9008 | As mentioned previously, all new test files need to be in the proper |
9009 | place for the build system to find them. New tests for additional | 9009 | place for the build system to find them. New tests for additional |
9010 | functionality outside of the core should be added to the layer that adds | 9010 | functionality outside of the core should be added to the layer that adds |
9011 | the functionality, in ``layer/lib/oeqa/runtime`` (as long as | 9011 | the functionality, in ``layer/lib/oeqa/runtime/cases`` (as long as |
9012 | :term:`BBPATH` is extended in the | 9012 | :term:`BBPATH` is extended in the |
9013 | layer's ``layer.conf`` file as normal). Just remember the following: | 9013 | layer's ``layer.conf`` file as normal). Just remember the following: |
9014 | 9014 | ||