Some unit test errors

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Some unit test errors

Joan Lledó
Hello,

Trying to run the unit tests at contrib/ports/unix/check I found some errors:

1- The code doesn't compile, there are some "C++" style comments at
src/apps/tftp/tftp.c.

2- If I remove the comments, it compiles, but then some tests fail:

Running suite(s): IPv4
 IPv6
 UDP
 TCP
 TCP_OOS
 DEF
 MEM
 NETIF
 PBUF
 TIMERS
 ETHARP
 DHCP
 MDNS
 MQTT
Assertion "tcp_recved: len overflowed TCP_WND_MAX" failed at line 994
in src/core/tcp.c
 SOCKETS
96%: Checks: 107, Failures: 3, Errors: 1
test/unit/dhcp/test_dhcp.c:484:F:DHCP:test_dhcp:0: TX 2 packets, expected 5
test/unit/dhcp/test_dhcp.c:554:F:DHCP:test_dhcp_nak:0: Assertion
'txpacket == 3' failed
test/unit/dhcp/test_dhcp.c:772:F:DHCP:test_dhcp_relayed:0: txpkt
should be 5, is 2
test/unit/mqtt/test_mqtt.c:95:E:MQTT:basic_connect:0: (after this
point) Received signal 6 (Aborted)

_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

Re: Some unit test errors

goldsimon@gmx.de


Am 12. Oktober 2018 13:23:45 MESZ schrieb "Joan Lledó" <[hidden email]>:
>Hello,
>
>Trying to run the unit tests at contrib/ports/unix/check I found some
>errors:
>
>1- The code doesn't compile, there are some "C++" style comments at
>src/apps/tftp/tftp.c.

Dirk has already fixed that I think.

>2- If I remove the comments, it compiles, but then some tests fail:

Those should hopefully only be the dhcp tests which got broken by adding acd. I'm working on that...


Simon

_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel