mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 11:28:58 +00:00
test-manual/intro: bitbake-selftest needs bitbake
Without adding bitbake/bin to the PATH, some tests will fail when they cannot find the main bitbake script. (From yocto-docs rev: 1bbeb83bbff71a670ced81146732f04a947473b5) Signed-off-by: Zachary T Welch <zach@aquabyte.ai> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4624c2ae61
commit
b60bea0ee9
@@ -175,8 +175,14 @@ Tests map into the codebase as follows:
|
||||
which include the fetchers. The tests are located in
|
||||
``bitbake/lib/*/tests``.
|
||||
|
||||
Some of these tests run the ``bitbake`` command, so ``bitbake/bin``
|
||||
must be added to the ``PATH`` before running ``bitbake-selftest``.
|
||||
From within the BitBake repository, run the following::
|
||||
|
||||
$ export PATH=$PWD/bin:$PATH
|
||||
|
||||
After that, you can run the selftest script::
|
||||
|
||||
$ bitbake-selftest
|
||||
|
||||
The default output is quiet and just prints a summary of what was
|
||||
|
||||
Reference in New Issue
Block a user