diff options
author | Trevor Woerner <twoerner@gmail.com> | 2025-09-18 17:27:29 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-22 22:09:48 +0100 |
commit | fd740c664a7dd24d13a68cf7cfb4ccf2c2987515 (patch) | |
tree | ef305a1b5908ed53623715b8ebbcaf6eef4c5265 | |
parent | 141a6f905da3b04a2a5adf1358ac50a6dd34c1ea (diff) | |
download | poky-fd740c664a7dd24d13a68cf7cfb4ccf2c2987515.tar.gz |
patchtest.README: update selftest section
Update the "Running Patchtest Selftest to include a cmdline example of
runing the selftest.
(From OE-Core rev: 5b2153c8467657ffe490c6b10a260b63d93f3296)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/patchtest.README | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/patchtest.README b/scripts/patchtest.README index 30f7538529..fc1267f053 100644 --- a/scripts/patchtest.README +++ b/scripts/patchtest.README | |||
@@ -267,6 +267,18 @@ bitbake) in local.conf to reduce runtime, as the bitbake startup process | |||
267 | will otherwise add to it significantly when restarted for each test | 267 | will otherwise add to it significantly when restarted for each test |
268 | patch. | 268 | patch. |
269 | 269 | ||
270 | If you have setup a Python virtual environment and sourced the | ||
271 | oe-init-build-env script to run patchtest following the directions | ||
272 | provided above in the "Installation" section, and you have added the | ||
273 | meta-selftest layer (from oe-core or poky) to your build, running the | ||
274 | patchtest selftest is as simple as: | ||
275 | |||
276 | (patchtest.venv) $ yocto/openembedded-core/meta/lib/patchtest/selftest/selftest | ||
277 | |||
278 | or: | ||
279 | |||
280 | (patchtest.venv) $ yocto/poky/meta/lib/patchtest/selftest/selftest | ||
281 | |||
270 | ## Contributing | 282 | ## Contributing |
271 | 283 | ||
272 | The yocto mailing list (openembedded-core@lists.openembedded.org) is used for questions, | 284 | The yocto mailing list (openembedded-core@lists.openembedded.org) is used for questions, |