diff options
| -rw-r--r-- | documentation/test-manual/intro.rst | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/documentation/test-manual/intro.rst b/documentation/test-manual/intro.rst index a2560f4f53..c31fd11c7a 100644 --- a/documentation/test-manual/intro.rst +++ b/documentation/test-manual/intro.rst | |||
| @@ -276,7 +276,7 @@ Tests map into the codebase as follows: | |||
| 276 | - These tests build an extended SDK (eSDK), install that eSDK, and | 276 | - These tests build an extended SDK (eSDK), install that eSDK, and |
| 277 | run tests against the eSDK. | 277 | run tests against the eSDK. |
| 278 | 278 | ||
| 279 | - The code for these tests resides in ``meta/lib/oeqa/esdk``. | 279 | - The code for these tests resides in ``meta/lib/oeqa/sdkext/cases/``. |
| 280 | 280 | ||
| 281 | - To run the tests, use the following command form:: | 281 | - To run the tests, use the following command form:: |
| 282 | 282 | ||
| @@ -309,7 +309,7 @@ Tests map into the codebase as follows: | |||
| 309 | :yocto_dl:`txt </releases/yocto/yocto-4.3/testresults/buildperf-debian11/perf-debian11_nanbield_20231019191258_15b576c410.txt>` | 309 | :yocto_dl:`txt </releases/yocto/yocto-4.3/testresults/buildperf-debian11/perf-debian11_nanbield_20231019191258_15b576c410.txt>` |
| 310 | examples. | 310 | examples. |
| 311 | 311 | ||
| 312 | - The tests are contained in ``lib/oeqa/buildperf/test_basic.py``. | 312 | - The tests are contained in ``meta/lib/oeqa/buildperf/test_basic.py``. |
| 313 | 313 | ||
| 314 | Test Examples | 314 | Test Examples |
| 315 | ============= | 315 | ============= |
| @@ -317,16 +317,14 @@ Test Examples | |||
| 317 | This section provides example tests for each of the tests listed in the | 317 | This section provides example tests for each of the tests listed in the |
| 318 | :ref:`test-manual/intro:How Tests Map to Areas of Code` section. | 318 | :ref:`test-manual/intro:How Tests Map to Areas of Code` section. |
| 319 | 319 | ||
| 320 | For oeqa tests, testcases for each area reside in the main test | 320 | - ``oe-selftest`` testcases reside in the ``meta/lib/oeqa/selftest/cases`` directory. |
| 321 | directory at ``meta/lib/oeqa/selftest/cases`` directory. | ||
| 322 | 321 | ||
| 323 | For oe-selftest. bitbake testcases reside in the ``lib/bb/tests/`` | 322 | - ``bitbake-selftest`` testcases reside in the ``bitbake/lib/bb/tests/`` directory. |
| 324 | directory. | ||
| 325 | 323 | ||
| 326 | ``bitbake-selftest`` | 324 | ``bitbake-selftest`` |
| 327 | -------------------- | 325 | -------------------- |
| 328 | 326 | ||
| 329 | A simple test example from ``lib/bb/tests/data.py`` is:: | 327 | A simple test example from ``bitbake/lib/bb/tests/data.py`` is:: |
| 330 | 328 | ||
| 331 | class DataExpansions(unittest.TestCase): | 329 | class DataExpansions(unittest.TestCase): |
| 332 | def setUp(self): | 330 | def setUp(self): |
