diff --git a/documentation/test-manual/intro.rst b/documentation/test-manual/intro.rst index c445e28a7e..12324e592c 100644 --- a/documentation/test-manual/intro.rst +++ b/documentation/test-manual/intro.rst @@ -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