diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-12-06 16:47:10 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-12-21 06:14:00 -1000 |
| commit | 27ec491044aa6b5584e1360cbf8fd233cdaa9d99 (patch) | |
| tree | a8143a2f923134e8c1030eeb87027f2e8b1dc814 /documentation | |
| parent | 2ebcefae46a07c6a188d1ee6bbbaab7ff5c92e54 (diff) | |
| download | poky-27ec491044aa6b5584e1360cbf8fd233cdaa9d99.tar.gz | |
test-manual: explicit or fix file paths
(From yocto-docs rev: f947a07350aaddb798a1348c3bd5e77faf3849e7)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
| -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 811dfca4be..d58171fb80 100644 --- a/documentation/test-manual/intro.rst +++ b/documentation/test-manual/intro.rst | |||
| @@ -271,7 +271,7 @@ Tests map into the codebase as follows: | |||
| 271 | - These tests build an extended SDK (eSDK), install that eSDK, and | 271 | - These tests build an extended SDK (eSDK), install that eSDK, and |
| 272 | run tests against the eSDK. | 272 | run tests against the eSDK. |
| 273 | 273 | ||
| 274 | - The code for these tests resides in ``meta/lib/oeqa/esdk``. | 274 | - The code for these tests resides in ``meta/lib/oeqa/sdkext/cases/``. |
| 275 | 275 | ||
| 276 | - To run the tests, use the following command form:: | 276 | - To run the tests, use the following command form:: |
| 277 | 277 | ||
| @@ -304,7 +304,7 @@ Tests map into the codebase as follows: | |||
| 304 | :yocto_dl:`txt </releases/yocto/yocto-4.3/testresults/buildperf-debian11/perf-debian11_nanbield_20231019191258_15b576c410.txt>` | 304 | :yocto_dl:`txt </releases/yocto/yocto-4.3/testresults/buildperf-debian11/perf-debian11_nanbield_20231019191258_15b576c410.txt>` |
| 305 | examples. | 305 | examples. |
| 306 | 306 | ||
| 307 | - The tests are contained in ``lib/oeqa/buildperf/test_basic.py``. | 307 | - The tests are contained in ``meta/lib/oeqa/buildperf/test_basic.py``. |
| 308 | 308 | ||
| 309 | Test Examples | 309 | Test Examples |
| 310 | ============= | 310 | ============= |
| @@ -312,16 +312,14 @@ Test Examples | |||
| 312 | This section provides example tests for each of the tests listed in the | 312 | This section provides example tests for each of the tests listed in the |
| 313 | :ref:`test-manual/intro:How Tests Map to Areas of Code` section. | 313 | :ref:`test-manual/intro:How Tests Map to Areas of Code` section. |
| 314 | 314 | ||
| 315 | For oeqa tests, testcases for each area reside in the main test | 315 | - ``oe-selftest`` testcases reside in the ``meta/lib/oeqa/selftest/cases`` directory. |
| 316 | directory at ``meta/lib/oeqa/selftest/cases`` directory. | ||
| 317 | 316 | ||
| 318 | For oe-selftest. bitbake testcases reside in the ``lib/bb/tests/`` | 317 | - ``bitbake-selftest`` testcases reside in the ``bitbake/lib/bb/tests/`` directory. |
| 319 | directory. | ||
| 320 | 318 | ||
| 321 | ``bitbake-selftest`` | 319 | ``bitbake-selftest`` |
| 322 | -------------------- | 320 | -------------------- |
| 323 | 321 | ||
| 324 | A simple test example from ``lib/bb/tests/data.py`` is:: | 322 | A simple test example from ``bitbake/lib/bb/tests/data.py`` is:: |
| 325 | 323 | ||
| 326 | class DataExpansions(unittest.TestCase): | 324 | class DataExpansions(unittest.TestCase): |
| 327 | def setUp(self): | 325 | def setUp(self): |
