diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-12-06 16:47:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-18 13:18:55 +0000 |
commit | d9be74b13f402b796b0250dd2a3470ae1443eebe (patch) | |
tree | 74ccd3742f94ecd490c46ea242dd4299cc6a6086 /documentation/test-manual/intro.rst | |
parent | 98ee926e2c527cb9c3fd001cec8baefac6487774 (diff) | |
download | poky-d9be74b13f402b796b0250dd2a3470ae1443eebe.tar.gz |
test-manual: explicit or fix file paths
(From yocto-docs rev: e6fd1912bdbaeb1c8e29f5d7987ee24f9def1ab7)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/test-manual/intro.rst')
-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): |