mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
This fixes several 'SyntaxWarning: invalid escape sequence' messages printed when running patchtest. Cc: Trevor Gamblin <tgamblin@baylibre.com> (From OE-Core rev: c585977a6b55db93b7f432280ae4251aa9bc6b6c) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| selftest | ||
| tests | ||
| mbox.py | ||
| patchtest_parser.py | ||
| patchtest_patterns.py | ||
| README.md | ||
| repo.py | ||
| requirements.txt | ||
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:
- Clone https://git.openembedded.org/openembedded-core (this repo) and https://git.openembedded.org/bitbake/
- Clone https://git.yoctoproject.org/patchtest
- Install the necessary Python modules: in meta/lib/patchtest or the patchtest
repo, do
pip install -r requirements.txt - Add patchtest to PATH:
export PATH=/path/to/patchtest/repo:$PATH - Initialize the environment:
source oe-init-build-env - Add meta-selftest to bblayers.conf:
bitbake-layers add-layer /path/to/meta-selftest/(the selftests use this layer's recipes as test targets) - 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/.