diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/runtime-testing.rst | 10 |
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 | ||
344 | All test files reside in ``meta/lib/oeqa/runtime`` in the | 344 | All 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 |
346 | directly to a Python module. Each test module may contain a number of | 346 | directly to a Python module. Each test module may contain a number of |
347 | individual tests. Tests are usually grouped together by the area tested | 347 | individual 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 | ||
350 | You can add tests to any layer provided you place them in the proper | 350 | You can add tests to any layer provided you place them in the proper |
351 | area and you extend :term:`BBPATH` in | 351 | area and you extend :term:`BBPATH` in |
352 | the ``local.conf`` file as normal. Be sure that tests reside in | 352 | the ``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 | ||
360 | You can change the set of tests run by appending or overriding | 360 | You 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 | |||
447 | As mentioned previously, all new test files need to be in the proper | 447 | As mentioned previously, all new test files need to be in the proper |
448 | place for the build system to find them. New tests for additional | 448 | place for the build system to find them. New tests for additional |
449 | functionality outside of the core should be added to the layer that adds | 449 | functionality outside of the core should be added to the layer that adds |
450 | the functionality, in ``layer/lib/oeqa/runtime`` (as long as | 450 | the functionality, in ``layer/lib/oeqa/runtime/cases`` (as long as |
451 | :term:`BBPATH` is extended in the | 451 | :term:`BBPATH` is extended in the |
452 | layer's ``layer.conf`` file as normal). Just remember the following: | 452 | layer's ``layer.conf`` file as normal). Just remember the following: |
453 | 453 | ||