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:14:00 -1000 |
| commit | 1520bf97aaa9cf1b340c84e35f3cfe4b7641f3bb (patch) | |
| tree | 88ac17e0e43b652cabc5323ba15a1b3d481cfbce /documentation | |
| parent | ddbdef6e58973fd078be09a8d22bffe6d852062b (diff) | |
| download | poky-1520bf97aaa9cf1b340c84e35f3cfe4b7641f3bb.tar.gz | |
test-manual: use working example
(From yocto-docs rev: 7438d32b45b12b034a7d9c9e60b8e8c083ef85d3)
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 d58171fb80..16f73ca468 100644 --- a/documentation/test-manual/intro.rst +++ b/documentation/test-manual/intro.rst | |||
| @@ -190,15 +190,15 @@ Tests map into the codebase as follows: | |||
| 190 | Use this option when you wish to skip tests that access the network, | 190 | Use this option when you wish to skip tests that access the network, |
| 191 | which are mostly necessary to test the fetcher modules. To specify | 191 | which are mostly necessary to test the fetcher modules. To specify |
| 192 | individual test modules to run, append the test module name to the | 192 | individual test modules to run, append the test module name to the |
| 193 | "bitbake-selftest" command. For example, to specify the tests for the | 193 | ``bitbake-selftest`` command. For example, to specify the tests for |
| 194 | bb.data.module, run:: | 194 | ``bb.tests.data.DataExpansions``, run:: |
| 195 | 195 | ||
| 196 | $ bitbake-selftest bb.test.data.module | 196 | $ bitbake-selftest bb.tests.data.DataExpansions |
| 197 | 197 | ||
| 198 | You can also specify individual tests by defining the full name and module | 198 | You can also specify individual tests by defining the full name and module |
| 199 | plus the class path of the test, for example:: | 199 | plus the class path of the test, for example:: |
| 200 | 200 | ||
| 201 | $ bitbake-selftest bb.tests.data.TestOverrides.test_one_override | 201 | $ bitbake-selftest bb.tests.data.DataExpansions.test_one_var |
| 202 | 202 | ||
| 203 | The tests are based on | 203 | The tests are based on |
| 204 | `Python unittest <https://docs.python.org/3/library/unittest.html>`__. | 204 | `Python unittest <https://docs.python.org/3/library/unittest.html>`__. |
