unit tests: added test_netif (checking ext_callbacks only, for now)

This commit is contained in:
goldsimon
2018-01-12 22:27:15 +01:00
parent 452c6a5378
commit fa75ffed9d
5 changed files with 203 additions and 0 deletions

View File

@@ -72,6 +72,9 @@
/* MIB2 stats are required to check IPv4 reassembly results */
#define MIB2_STATS 1
/* netif tests want to test this, so enable: */
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1
/* Check lwip_stats.mem.illegal instead of asserting */
#define LWIP_MEM_ILLEGAL_FREE(msg) /* to nothing */