summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-12-06 16:42:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-18 13:18:55 +0000
commit51c390571f32642333a910e7623b02d25ab5730f (patch)
tree88eb67554c6ec997ec764270a0b6e6a1ee8d8d5d /documentation
parent3090312661ebf7d1b3481a580ed53aaab90022ab (diff)
downloadpoky-51c390571f32642333a910e7623b02d25ab5730f.tar.gz
test-manual: use working example
(From yocto-docs rev: 29dce8130e4de68a4690add673bca0eef17c8260) 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.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/test-manual/intro.rst b/documentation/test-manual/intro.rst
index d14aa20f76..e72a51172c 100644
--- a/documentation/test-manual/intro.rst
+++ b/documentation/test-manual/intro.rst
@@ -195,15 +195,15 @@ Tests map into the codebase as follows:
195 Use this option when you wish to skip tests that access the network, 195 Use this option when you wish to skip tests that access the network,
196 which are mostly necessary to test the fetcher modules. To specify 196 which are mostly necessary to test the fetcher modules. To specify
197 individual test modules to run, append the test module name to the 197 individual test modules to run, append the test module name to the
198 "bitbake-selftest" command. For example, to specify the tests for the 198 ``bitbake-selftest`` command. For example, to specify the tests for
199 bb.data.module, run:: 199 ``bb.tests.data.DataExpansions``, run::
200 200
201 $ bitbake-selftest bb.test.data.module 201 $ bitbake-selftest bb.tests.data.DataExpansions
202 202
203 You can also specify individual tests by defining the full name and module 203 You can also specify individual tests by defining the full name and module
204 plus the class path of the test, for example:: 204 plus the class path of the test, for example::
205 205
206 $ bitbake-selftest bb.tests.data.TestOverrides.test_one_override 206 $ bitbake-selftest bb.tests.data.DataExpansions.test_one_var
207 207
208 The tests are based on `Python 208 The tests are based on `Python
209 unittest <https://docs.python.org/3/library/unittest.html>`__. 209 unittest <https://docs.python.org/3/library/unittest.html>`__.