Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
selftest/ | H | - | - | 1,977 | 1,706 | |
tests/ | H | - | - | 845 | 637 | |
README.md | H A D | 04-Oct-2023 | 953 | 21 | 16 | |
mbox.py | H A D | 14-Dec-2024 | 3.1 KiB | 109 | 70 | |
patchtest_parser.py | H A D | 14-Dec-2024 | 3 KiB | 79 | 45 | |
patchtest_patterns.py | H A D | 14-Dec-2024 | 3.8 KiB | 99 | 65 | |
repo.py | H A D | 14-Dec-2024 | 2.7 KiB | 86 | 45 | |
requirements.txt | H A D | 19-Jun-2024 | 69 | 8 | 7 |
README.md
1# patchtest selftests for openembedded-core 2 3This directory provides a test suite and selftest script for use with the 4patchtest repository: https://git.yoctoproject.org/patchtest/ 5 6To setup for use: 7 81. Clone https://git.openembedded.org/openembedded-core (this repo) and https://git.openembedded.org/bitbake/ 92. Clone https://git.yoctoproject.org/patchtest 103. Install the necessary Python modules: in meta/lib/patchtest or the patchtest 11 repo, do `pip install -r requirements.txt` 124. Add patchtest to PATH: `export PATH=/path/to/patchtest/repo:$PATH` 135. Initialize the environment: `source oe-init-build-env` 146. Add meta-selftest to bblayers.conf: `bitbake-layers add-layer 15 /path/to/meta-selftest/` (the selftests use this layer's recipes as test 16 targets) 177. Finally, run the selftest script: `./meta/lib/patchtest/selftest/selftest` 18 19For more information on using patchtest, see the patchtest repo at 20https://git.yoctoproject.org/patchtest/. 21