lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] [PATCHv4 0/5] net/lwip: add lwip library for the networ


From: Maxim Uvarov
Subject: Re: [lwip-devel] [PATCHv4 0/5] net/lwip: add lwip library for the network stack
Date: Fri, 28 Jul 2023 17:24:55 +0600



On Fri, 28 Jul 2023 at 07:52, Simon Glass <sjg@google.com> wrote:
Hi Maxim,

On Fri, 14 Jul 2023 at 08:22, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
>
> changelog:
>         v4: - tested with tests/py/ did some minor fixes (out of tree
>                 build, variables set after downloads).
>             - accounted review comments for documentation.
>             - implemented dns command
>             - corrected wget command to not use serverip variable and use just
>                 url string.
>         v3: - use lwip commands for ping,tftp,wget,dhcp if this patch
>               applied. Drop CONFIG_LIB_LWIP_REPLACE_<COMMAND> option.
>             - docs: use rst variant and drop references to RFC.
>
> build:
>         git submodule init
>         git submodule update
>         make
>
> I tested with qemu and ubuntu host for the server manually and with
> ./test/py/test -bd qemu_arm64 --build -k net.

If we are moving to a new stack we should take this oppty to create
unit tests that deal with error paths as well, as it done in
test/dm/eth.c


lwip itself has unit tests:
https://git.savannah.nongnu.org/cgit/lwip.git/tree/test

I first time look on what is test/dm/eth.c but to compare it to for example https://git.savannah.nongnu.org/cgit/lwip.git/tree/test/unit/dhcp/test_dhcp.c
it's about the same.

BR,
Maxim.

 
What unit tests does lwip have?

Regards,
Simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]