unit: Support check v0.13.0 and later

Function name no longer needs to be fed separately when adding tests.

Also fix collision of non-static net_test variables in dhcp and netif
tests.
This commit is contained in:
Erik Ekman
2020-06-19 15:36:33 +02:00
parent d5843944cc
commit 5c8fd3158d
3 changed files with 12 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
#error "This tests needs LWIP_NETIF_EXT_STATUS_CALLBACK enabled"
#endif
struct netif net_test;
static struct netif net_test;
/* Setups/teardown functions */