[PATCH v2 3/4] doc: pytest: Document the test_net_boot test

Tom Rini trini at konsulko.com
Sat May 10 17:11:52 CEST 2025


On Sat, May 10, 2025 at 01:25:27PM +0200, Simon Glass wrote:
> On Thu, 8 May 2025 at 00:11, Tom Rini <trini at konsulko.com> wrote:
> >
> > Add the test_net_boot.py test to the generated documentation. While most
> > of this was already commented correctly for inclusion the biggest
> > problem was examples of code without a code-block notation. This in turn
> > broke parsing. Add the missing notations. We also must have the comment
> > prior to any import lines or it will not be seen as a comment on the
> > overall file and thus not included.
> >
> > 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_net_boot.rst |   8 ++
> >  test/py/tests/test_net_boot.py       | 163 +++++++++++++++------------
> >  3 files changed, 98 insertions(+), 74 deletions(-)
> >  create mode 100644 doc/develop/pytest/test_net_boot.rst
> >
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> Can we add some default binaries to the tree, or somewhere else?

No, I don't think that's a good idea. It needs to be something that will
actually boot on the hardware in question.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250510/6329ecba/attachment.sig>


More information about the U-Boot mailing list