poky/meta/lib/patchtest
Igor Opaniuk e8d4c8a153 patchtest/README.md: fix markdown style issues
Fix markdown style issues using markdownlint tool [1]:

$ cat ./meta/lib/patchtest/README.md | mdl
(stdin):4: MD034 Bare URL used
(stdin):8: MD034 Bare URL used
(stdin):9: MD034 Bare URL used
(stdin):20: MD034 Bare URL used

[1] https://github.com/markdownlint/markdownlint
(From OE-Core rev: 623cd2ffa8815a60ef630974393b17a1489ebf41)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
..
selftest patchtest: use HEAD commit as base for the selftest and not master 2024-11-19 12:54:32 +00:00
tests patchtest: add test_commit_message_user_tags 2024-10-23 17:35:23 +01:00
mbox.py patchtest: mbox.py: new data implementation 2024-09-30 17:00:50 +01:00
patchtest_parser.py patchtest: simplify, rename modules 2024-09-30 17:00:50 +01:00
patchtest_patterns.py patchtest: add "Inactive-Upstream" 2024-11-01 12:58:19 +00:00
README.md patchtest/README.md: fix markdown style issues 2025-02-05 12:49:56 +00:00
repo.py patchtest: mbox.py: new data implementation 2024-09-30 17:00:50 +01:00
requirements.txt patchtest: requirements.txt: add GitPython 2024-05-13 16:28:35 +01:00

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/.