summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/README13
1 files changed, 12 insertions, 1 deletions
diff --git a/bitbake/README b/bitbake/README
index 80a97118b9..b689c38baa 100644
--- a/bitbake/README
+++ b/bitbake/README
@@ -34,10 +34,21 @@ Source code:
34 34
35 https://git.openembedded.org/bitbake/ 35 https://git.openembedded.org/bitbake/
36 36
37Testing: 37Testing
38-------
38 39
39Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions. 40Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions.
40You can run this with "bitbake-selftest". In particular the fetcher is well covered since 41You can run this with "bitbake-selftest". In particular the fetcher is well covered since
41it has so many corner cases. The datastore has many tests too. Testing with the testsuite is 42it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
42recommended before submitting patches, particularly to the fetcher and datastore. We also 43recommended before submitting patches, particularly to the fetcher and datastore. We also
43appreciate new test cases and may require them for more obscure issues. 44appreciate new test cases and may require them for more obscure issues.
45
46To run the tests "zstd" and "git" must be installed. Git must be correctly configured, in
47particular the user.email and user.name values must be set.
48
49The assumption is made that this testsuite is run from an initialized OpenEmbedded build
50environment (i.e. `source oe-init-build-env` is used). If this is not the case, run the
51testsuite as follows:
52
53 export PATH=$(pwd)/bin:$PATH
54 bin/bitbake-selftest