From: Trevor Woerner Date: Thu, 18 Sep 2025 21:27:29 +0000 (-0400) Subject: patchtest.README: update selftest section X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b2153c8467657ffe490c6b10a260b63d93f3296;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git patchtest.README: update selftest section Update the "Running Patchtest Selftest to include a cmdline example of runing the selftest. Signed-off-by: Trevor Woerner Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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 will otherwise add to it significantly when restarted for each test patch. +If you have setup a Python virtual environment and sourced the +oe-init-build-env script to run patchtest following the directions +provided above in the "Installation" section, and you have added the +meta-selftest layer (from oe-core or poky) to your build, running the +patchtest selftest is as simple as: + + (patchtest.venv) $ yocto/openembedded-core/meta/lib/patchtest/selftest/selftest + +or: + + (patchtest.venv) $ yocto/poky/meta/lib/patchtest/selftest/selftest + ## Contributing The yocto mailing list (openembedded-core@lists.openembedded.org) is used for questions,