diff mbox series

[6/6] patchtest.README: update selftest section

Message ID 20250918212743.3960-6-twoerner@gmail.com
State New
Headers show
Series [1/6] patchtest.README: trivial fixes | expand

Commit Message

Trevor Woerner Sept. 18, 2025, 9:27 p.m. UTC
Update the "Running Patchtest Selftest to include a cmdline example of
runing the selftest.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 scripts/patchtest.README | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/scripts/patchtest.README b/scripts/patchtest.README
index 30f7538529ed..fc1267f05387 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,