[PATCH v4 39/42] doc: Move coccinelle into its own section

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Mar 4 18:23:22 CET 2021


On 04.03.21 14:51, Simon Glass wrote:
> This tool has nothing to do with testing. Create a new section for
> 'refactoring' and move it into there. It is likely that other topics may
> fall under the same heading, such as using moveconfig and search/replace
> tools.

Coccinelle makes static code analysis. This has nothing to do with
refactoring. I saw it as static testing compared to the dynamic testing
done for instance by pytest.

You might put it into one chapter with our continuous integration.

Best regards

Heinrich

>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>  doc/develop/index.rst | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/doc/develop/index.rst b/doc/develop/index.rst
> index 50b1de3bdff..9208668a2d4 100644
> --- a/doc/develop/index.rst
> +++ b/doc/develop/index.rst
> @@ -30,7 +30,14 @@ Testing
>  .. toctree::
>     :maxdepth: 1
>
> -   coccinelle
>     testing
>     py_testing
>     tests_sandbox
> +
> +Refactoring
> +-----------
> +
> +.. toctree::
> +   :maxdepth: 1
> +
> +   coccinelle
>



More information about the U-Boot mailing list