[PATCH 2/3] doc: pytest: Document the test_bootstage test

Simon Glass sjg at chromium.org
Sat May 10 13:25:34 CEST 2025


On Thu, 8 May 2025 at 01:25, Tom Rini <trini at konsulko.com> wrote:
>
> Add this test to the documentation. We need to move the import to follow
> the main comment so that it renders correctly, and add a code-block
> annotation to the example and indent it correctly. Next, neither of the
> functions had comments themselves, so document them now.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  doc/develop/pytest/index.rst          |  1 +
>  doc/develop/pytest/test_bootstage.rst |  8 ++++++
>  test/py/tests/test_bootstage.py       | 35 +++++++++++++++++++++------
>  3 files changed, 37 insertions(+), 7 deletions(-)
>  create mode 100644 doc/develop/pytest/test_bootstage.rst

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list