patchlwIP - A Lightweight TCP/IP stack - Patches: patch #10207, Test/CI: Various improvements of...


You are not allowed to post comments on this tracker with your current authentication level.

patch #10207: Test/CI: Various improvements of tests and examples

Submitter:  David Cermak <david_cermak>
Submitted:  Sun 15 May 2022 01:42:41 PM UTC
Category:  Contrib Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Wed 10 May 2023 08:20:59 PM UTC, comment #1: 

Pushed all for, thanks for the patches.

Simon Goldschmidt <goldsimon>
Group administrator
Sun 15 May 2022 01:42:41 PM UTC, original submission:  

Adds four separate commits to the contrib and test folders, extending tests, CI, linux port and addons:

1) contrib/ports: Add-semaphore-per-thread-option-for-uninx
  - support for LWIP_NETCONN_SEM_PER_THREAD into unix port (this option is already supported in win32 port)

2) ci: Add-unit-test-suite-to-validate-tcp-state-transition
  - a very simple test suite that validates basic state transitions of tcp_pcb

3) contrib/addons: Add-example-of-using-DHCP-extra-options (This may be helpful for users who are interested in opt.61 before it's officially supported)
  - parse additional options for DHCP_OPTION_MTU (opt.26) to potentially update the netif's MTU
  - append extra option DHCP_OPTION_CLIENT_ID (opt. 61) to include client's HW id of LWIP_IANA_HWTYPE_ETHERNET type

4) ci: Add-the-default-example_app-config-to-the-build-step
  - adds the most default example_app build to the CI (since the current set of configs in doesn't exercise it)
  - checks the default example_app build, e.g. config ARP_QUEUEING is enabled in the example, but disabled in all CI related configs (alternatively, we could extend the set of configs in `iteropts`, but that would still preinclude, while here we simply add lwipcfg.h.example)


PS: Originally posted on GitHub as

David Cermak <david_cermak>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by david_cermak (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-05-10 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2022-05-15 david_cermak Attached File- Added 0001-contrib-ports-Add-semaphore-per-thread-option-for-un.patch, #53201
        Attached File- Added 0002-ci-Add-unit-test-suite-to-validate-tcp-state-transit.patch, #53202
        Attached File- Added 0003-contrib-addons-Add-example-of-using-DHCP-extra-optio.patch, #53203
        Attached File- Added 0004-ci-Add-the-default-example_app-config-to-the-build-s.patch, #53204

    Back to the top

    Powered by Savane 3.13-a854.
    Corresponding source code