lwip/contrib/ports/unix/check
Erik Ekman ecab77654a ports/unix/check: Ignore error from fail_* macros
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);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-01-13 21:48:03 +01:00
..
CMakeLists.txt Unix port: improve support for the Hurd 2019-08-01 21:10:36 +02:00
config.h Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
Makefile ports/unix/check: Ignore error from fail_* macros 2021-01-13 21:48:03 +01:00
README Adapt several comments to contrib rep move 2018-10-02 12:42:14 +02:00

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