mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-07-17 23:29:06 +00: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:
parent
5b1bd88115
commit
4ad9b0501c
@ -55,7 +55,7 @@ LWIPOBJS=$(LWIPFILES:.c=.o)
|
|||||||
|
|
||||||
TESTDIR=$(CODEDIR)/test/unit
|
TESTDIR=$(CODEDIR)/test/unit
|
||||||
TESTFILES=$(TESTDIR)/lwip_unittests.c $(TESTDIR)/udp/test_udp.c $(TESTDIR)/etharp/test_etharp.c $(TESTDIR)/tcp/tcp_helper.c \
|
TESTFILES=$(TESTDIR)/lwip_unittests.c $(TESTDIR)/udp/test_udp.c $(TESTDIR)/etharp/test_etharp.c $(TESTDIR)/tcp/tcp_helper.c \
|
||||||
$(TESTDIR)/tcp/test_tcp_oos.c $(TESTDIR)/tcp/test_tcp.c $(TESTDIR)/core/test_mem.c
|
$(TESTDIR)/tcp/test_tcp_oos.c $(TESTDIR)/tcp/test_tcp.c $(TESTDIR)/core/test_mem.c $(TESTDIR)/dhcp/test_dhcp.c
|
||||||
TESTOBJS=$(TESTFILES:.c=.o)
|
TESTOBJS=$(TESTFILES:.c=.o)
|
||||||
|
|
||||||
%.o: %.c Makefile $(TESTDIR)/lwipopts.h
|
%.o: %.c Makefile $(TESTDIR)/lwipopts.h
|
||||||
|
Loading…
Reference in New Issue
Block a user