diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-09-12 09:31:54 -0400 |
---|---|---|
committer | Trevor Gamblin <tgamblin@baylibre.com> | 2023-09-14 08:57:50 -0400 |
commit | e112ddbcba62a554389f46425defaeeda7dec1b1 (patch) | |
tree | 91ddb66601b0e12b8f90acf2e995840cb4020640 | |
parent | 8b489229ecc065c790e90450ef3a87e76b35af26 (diff) | |
download | openembedded-core-contrib-tgamblin/patchtest.tar.gz |
patchtest: Add README.md for selfteststgamblin/patchtest
Add a short README describing how to setup patchtest's selftests for
oe-core.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
-rw-r--r-- | meta/lib/patchtest/README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/lib/patchtest/README.md b/meta/lib/patchtest/README.md new file mode 100644 index 0000000000..f66613c0c1 --- /dev/null +++ b/meta/lib/patchtest/README.md @@ -0,0 +1,20 @@ +# patchtest selftests for openembedded-core + +This directory provides a test suite and selftest script for use with the +patchtest repository: https://git.yoctoproject.org/patchtest/ + +To setup for use: + +1. Clone https://git.openembedded.org/openembedded-core (this repo) and https://git.openembedded.org/bitbake/ +2. Clone https://git.yoctoproject.org/patchtest +3. Install the necessary Python modules: in meta/lib/patchtest or the patchtest + repo, do `pip install -r requirements.txt` +4. Add patchtest to PATH: `export PATH=/path/to/patchtest/repo:$PATH` +5. Initialize the environment: `source oe-init-build-env` +6. Add meta-selftest to bblayers.conf: `bitbake-layers add-layer + /path/to/meta-selftest/` (the selftests use this layer's recipes as test + targets) +7. Finally, run the selftest script: `./meta/lib/patchtest/selftest/selftest` + +For more information on using patchtest, see the patchtest repo at +https://git.yoctoproject.org/patchtest/. |