lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] How to test the unit-test


From: Erik Ekman
Subject: Re: [lwip-users] How to test the unit-test
Date: Fri, 10 Jun 2016 16:27:11 +0200

On 9 June 2016 at 14:20, amogha shanbhag <address@hidden> wrote:
> Can someone pls guide how to test the LWIP unit test present in the repo ?

On Linux:

Install the check library in some way (https://libcheck.github.io/check/ if not found in your package system)
In a directory, create git clones of both lwip and lwip-contrib repositories (keep them updated in sync)
Go into lwip-contrib/ports/unix/check/
Run "make check"
It should compile the code and print something like:

Running suite(s): UDP
 TCP
 TCP_OOS
 MEM
 PBUF
 ETHARP
 DHCP
100%: Checks: 42, Failures: 0, Errors: 0

Good luck.

/Erik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]