mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
ddbdef6e58
commit
1520bf97aa
@@ -190,15 +190,15 @@ Tests map into the codebase as follows:
|
|||||||
Use this option when you wish to skip tests that access the network,
|
Use this option when you wish to skip tests that access the network,
|
||||||
which are mostly necessary to test the fetcher modules. To specify
|
which are mostly necessary to test the fetcher modules. To specify
|
||||||
individual test modules to run, append the test module name to the
|
individual test modules to run, append the test module name to the
|
||||||
"bitbake-selftest" command. For example, to specify the tests for the
|
``bitbake-selftest`` command. For example, to specify the tests for
|
||||||
bb.data.module, run::
|
``bb.tests.data.DataExpansions``, run::
|
||||||
|
|
||||||
$ bitbake-selftest bb.test.data.module
|
$ bitbake-selftest bb.tests.data.DataExpansions
|
||||||
|
|
||||||
You can also specify individual tests by defining the full name and module
|
You can also specify individual tests by defining the full name and module
|
||||||
plus the class path of the test, for example::
|
plus the class path of the test, for example::
|
||||||
|
|
||||||
$ bitbake-selftest bb.tests.data.TestOverrides.test_one_override
|
$ bitbake-selftest bb.tests.data.DataExpansions.test_one_var
|
||||||
|
|
||||||
The tests are based on
|
The tests are based on
|
||||||
`Python unittest <https://docs.python.org/3/library/unittest.html>`__.
|
`Python unittest <https://docs.python.org/3/library/unittest.html>`__.
|
||||||
|
|||||||
Reference in New Issue
Block a user