mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
ecab77654a
Usage of fail_if/fail_unless macros with a message results in a warning with the latest version of check (0.15.2+) and GCC. Ignore this specific error (since warnings are treated as errors) for now. Example failure: In file included from ../../../../src/../test/unit/lwip_check.h:7, from ../../../../src/../test/unit/lwip_unittests.c:1: ../../../../src/../test/unit/lwip_unittests.c: In function ‘lwip_check_ensure_no_alloc’: ../../../../src/../test/unit/lwip_unittests.c:55:7: error: too many arguments for format [-Werror=format-extra-args] 55 | "mem heap still has %d bytes allocated", lwip_stats.mem.used); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
config.h | ||
Makefile | ||
README |
Helper files to run lwIP unit tests on unix-like systems. 1. Install the check library, through a package manager or from http://check.sourceforge.net/ 2. Put the lwip code in a directory called 'lwip' 3. Run `make check` 4. Make sure all tests pass