summaryrefslogtreecommitdiff
path: root/poky/documentation/test-manual/intro.rst
diff options
context:
space:
mode:
Diffstat (limited to 'poky/documentation/test-manual/intro.rst')
-rw-r--r--poky/documentation/test-manual/intro.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/poky/documentation/test-manual/intro.rst b/poky/documentation/test-manual/intro.rst
index eb9ebe2d5f..12324e592c 100644
--- a/poky/documentation/test-manual/intro.rst
+++ b/poky/documentation/test-manual/intro.rst
@@ -175,20 +175,26 @@ 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::
- $ bitbake-selftest
+ $ export PATH=$PWD/bin:$PATH
- To skip tests that access the Internet, use the ``BB_SKIP_NETTESTS``
- variable when running "bitbake-selftest" as follows::
+ After that, you can run the selftest script::
- $ BB_SKIP_NETTESTS=yes bitbake-selftest
+ $ bitbake-selftest
The default output is quiet and just prints a summary of what was
run. To see more information, there is a verbose option::
$ bitbake-selftest -v
+ To skip tests that access the Internet, use the ``BB_SKIP_NETTESTS``
+ variable when running "bitbake-selftest" as follows::
+
+ $ BB_SKIP_NETTESTS=yes bitbake-selftest
+
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