[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Which reference platform to create unit tests
From: |
address@hidden |
Subject: |
Re: [lwip-devel] Which reference platform to create unit tests |
Date: |
Wed, 5 Feb 2020 20:26:55 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 |
Am 05.02.2020 um 20:24 schrieb David Bourgeois:
We're using LwIP on STM32 with MQTT. After reporting this bug
<https://savannah.nongnu.org/bugs/index.php?57734>, Simon suggested to
write a unit test. I would like to know how to compile/run the unit
tests outside my STM32 platform? Is there a way to run these directly on
Linux or MacOS?
Don't know about MacOS (please report back success or failure), but on
Linux, I do this:
> cd contrib/ports/unix/check
> make
> ./lwip_unittests
and the last line of output shows:
100%: Checks: 110, Failures: 0, Errors: 0
Cheers,
Simon