mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
0152e49589
commit
1a66f16c14
|
@ -195,15 +195,15 @@ Tests map into the codebase as follows:
|
|||
Use this option when you wish to skip tests that access the network,
|
||||
which are mostly necessary to test the fetcher modules. To specify
|
||||
individual test modules to run, append the test module name to the
|
||||
"bitbake-selftest" command. For example, to specify the tests for the
|
||||
bb.data.module, run::
|
||||
``bitbake-selftest`` command. For example, to specify the tests for
|
||||
``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
|
||||
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
|
||||
`Python unittest <https://docs.python.org/3/library/unittest.html>`__.
|
||||
|
|
Loading…
Reference in New Issue
Block a user