|
From: | Erik Ekman |
Subject: | Re: [lwip-devel] lwip_unittests crash |
Date: | Tue, 25 Aug 2015 17:08:47 +0200 |
Erik Ekman wrote:
Maybe the netif_list parameter contains bad data after running the dhcp or etharp tests.
No, I'd say either the 'tcp' or 'tcp_oos' suite is broken.
After this diff:
--- a/test/unit/lwip_unittests.c 2015-08-24 18:54:45
+++ b/test/unit/lwip_unittests.c 2015-08-25 16:48:39
@@ -37,16 +37,25 @@
size_t i;
suite_getter_fn* suites[] = {
udp_suite,
- tcp_suite,
- tcp_oos_suite,
+// tcp_suite,
+// tcp_oos_suite,
mem_suite,
- pbuf_suite,
+// pbuf_suite,
etharp_suite,
dhcp_suite
};
And running 'lwip_unittests.exe', I get:
Running suite(s): UDP
MEM
ETHARP
DHCP
75%: Checks: 8, Failures: 2, Errors: 0
udp/test_udp.c:52:F:UDP:test_udp_new_remove:0: Assertion 'lwip_stats.memp[MEMP_UDP_PCB].used == 1' failed
core/test_mem.c:42:F:MEM:test_mem_one:0: Assertion 'lwip_stats.mem.used >= SIZE1' failed
At least no crashes ...
> netif_list parameter contains bad data
For sure, but where? I supposed the unit-test should detect this.
Some problem with Check or my lwip-config...
[Prev in Thread] | Current Thread | [Next in Thread] |