From 5b2153c8467657ffe490c6b10a260b63d93f3296 Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Thu, 18 Sep 2025 17:27:29 -0400 Subject: [PATCH] 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 --- scripts/patchtest.README | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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, -- 2.47.3