diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-12-06 16:42:23 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-12-21 06:18:23 -1000 |
commit | 1a66f16c14687bef8c7955484a5ef107070e4ce2 (patch) | |
tree | 29a98abfa1f32edf367873a8f9d645f832af1505 /documentation | |
parent | 0152e49589bd6496ef90a3c71156f434970b94ea (diff) | |
download | poky-1a66f16c14687bef8c7955484a5ef107070e4ce2.tar.gz |
test-manual: use working example
(From yocto-docs rev: fac88b9e80646a68b31975c915a718a9b6b2b439)
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/test-manual/intro.rst b/documentation/test-manual/intro.rst index c79dfb6ab0..c31fd11c7a 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 | 208 | The tests are based on |
209 | `Python unittest <https://docs.python.org/3/library/unittest.html>`__. | 209 | `Python unittest <https://docs.python.org/3/library/unittest.html>`__. |