summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-12-06 16:47:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-18 13:18:55 +0000
commitd9be74b13f402b796b0250dd2a3470ae1443eebe (patch)
tree74ccd3742f94ecd490c46ea242dd4299cc6a6086 /documentation
parent98ee926e2c527cb9c3fd001cec8baefac6487774 (diff)
downloadpoky-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')
-rw-r--r--documentation/test-manual/intro.rst12
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
314Test Examples 314Test Examples
315============= 315=============
@@ -317,16 +317,14 @@ Test Examples
317This section provides example tests for each of the tests listed in the 317This 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
320For oeqa tests, testcases for each area reside in the main test 320- ``oe-selftest`` testcases reside in the ``meta/lib/oeqa/selftest/cases`` directory.
321directory at ``meta/lib/oeqa/selftest/cases`` directory.
322 321
323For oe-selftest. bitbake testcases reside in the ``lib/bb/tests/`` 322- ``bitbake-selftest`` testcases reside in the ``bitbake/lib/bb/tests/`` directory.
324directory.
325 323
326``bitbake-selftest`` 324``bitbake-selftest``
327-------------------- 325--------------------
328 326
329A simple test example from ``lib/bb/tests/data.py`` is:: 327A 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):