lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] START_TEST(test_mem_one)


From: address@hidden
Subject: Re: [lwip-devel] START_TEST(test_mem_one)
Date: Wed, 24 Aug 2011 21:01:47 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0

Kieran Mansley wrote:
On Sat, 2011-08-06 at 20:24 +0200, Gisle Vanem wrote:
I'm trying to compile the stuff under test/unit using MSVC and
MingW. But hit a number of errors. E.g. on this in test_mem.c:
   START_TEST(test_mem_one)

Where are START_TEST, Suite, tcase_add_checked_fixture() etc.
supposed to be defined? I don't think I'm missing some files.
I just checked mine against git://git.sv.gnu.org/lwip.git and
found no problem. I'm utterly confused.
Simon is the expert on this, but he's away for a few days.  I don't have
any experience of using those tests, but the standard answer to
questions like this in the past is that you also need to get and use the
check library, which isn't included with lwIP.
Exactly: the unit tests use the 'check' unit-test-framework. You need to download this and use the files in "contrib/ports/win32/check" to compile it (I've created libcheck.vcproj and lwIP_unittests.sln for that, too).

Simon



reply via email to

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