summaryrefslogtreecommitdiffstats
path: root/documentation/contributor-guide
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/contributor-guide')
-rw-r--r--documentation/contributor-guide/submit-changes.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/documentation/contributor-guide/submit-changes.rst b/documentation/contributor-guide/submit-changes.rst
index 8a300c3664..53daaf901a 100644
--- a/documentation/contributor-guide/submit-changes.rst
+++ b/documentation/contributor-guide/submit-changes.rst
@@ -282,12 +282,18 @@ Here is the general procedure on how to create patches to be sent through email:
282Validating Patches with Patchtest 282Validating Patches with Patchtest
283================================= 283=================================
284 284
285``patchtest`` is available in ``openembedded-core`` as a tool for making sure 285``patchtest`` is available in ``openembedded-core`` as a tool for making
286that your patches are well-formatted and contain important info for 286sure that your patches are well-formatted and contain important info for
287maintenance purposes, such as ``Signed-off-by`` and ``Upstream-Status`` 287maintenance purposes, such as ``Signed-off-by`` and ``Upstream-Status``
288tags. Once you have generated the patch files and run ``source 288tags. Currently, it only supports testing patches for
289oe-init-build-env`` to initialize your workspace, you can run ``patchtest`` 289``openembedded-core`` branches. To setup, perform the following::
290like so:: 290
291 pip install -r meta/lib/patchtest/requirements.txt
292 source oe-init-build-env
293 bitbake-layers add-layer ../meta-selftest
294
295Once these steps are complete and you have generated your patch files,
296you can run ``patchtest`` like so::
291 297
292 patchtest --patch <patch_name> 298 patchtest --patch <patch_name>
293 299