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:18:23 -1000 |
| commit | e5082d1c194e757a30248f6b800fa4d1051dd0bd (patch) | |
| tree | a6b081c5f8ecf617ad685b090e11c6125b077806 | |
| parent | 5a7d73398497e8009f6513c003750e0061b0ad82 (diff) | |
| download | poky-e5082d1c194e757a30248f6b800fa4d1051dd0bd.tar.gz | |
test-manual: explicit or fix file paths
(From yocto-docs rev: 090276305a23acb8548c74cc2eeb0a23970d7b42)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -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 a76ae25609..c79dfb6ab0 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): |
