diff options
Diffstat (limited to 'documentation/contributor-guide')
-rw-r--r-- | documentation/contributor-guide/submit-changes.rst | 16 |
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: | |||
282 | Validating Patches with Patchtest | 282 | Validating 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 |
286 | that your patches are well-formatted and contain important info for | 286 | sure that your patches are well-formatted and contain important info for |
287 | maintenance purposes, such as ``Signed-off-by`` and ``Upstream-Status`` | 287 | maintenance purposes, such as ``Signed-off-by`` and ``Upstream-Status`` |
288 | tags. Once you have generated the patch files and run ``source | 288 | tags. Currently, it only supports testing patches for |
289 | oe-init-build-env`` to initialize your workspace, you can run ``patchtest`` | 289 | ``openembedded-core`` branches. To setup, perform the following:: |
290 | like 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 | |||
295 | Once these steps are complete and you have generated your patch files, | ||
296 | you can run ``patchtest`` like so:: | ||
291 | 297 | ||
292 | patchtest --patch <patch_name> | 298 | patchtest --patch <patch_name> |
293 | 299 | ||