mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-16 18:03:44 +08:00
Add unit tests for DHCP
Three simple tests that test the basic functionality of the DHCP client. They require that UDP checksums are off for now.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "tcp/test_tcp_oos.h"
|
||||
#include "core/test_mem.h"
|
||||
#include "etharp/test_etharp.h"
|
||||
#include "dhcp/test_dhcp.h"
|
||||
|
||||
#include "lwip/init.h"
|
||||
|
||||
@@ -19,7 +20,8 @@ int main()
|
||||
tcp_suite,
|
||||
tcp_oos_suite,
|
||||
mem_suite,
|
||||
etharp_suite
|
||||
etharp_suite,
|
||||
dhcp_suite
|
||||
};
|
||||
size_t num = sizeof(suites)/sizeof(void*);
|
||||
LWIP_ASSERT("No suites defined", num > 0);
|
||||
|
||||
Reference in New Issue
Block a user