lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] test_mdns.c troubles


From: address@hidden
Subject: Re: [lwip-devel] test_mdns.c troubles
Date: Wed, 30 Jan 2019 19:53:31 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Am 19.12.2018 um 19:56 schrieb address@hidden:
Am 19.12.2018 um 18:09 schrieb Gisle Vanem:
and it's use in lwip_unittest.c:
       _tcase_add_test((tc_core),(tests[i]).func,(tests[i]).name,0, 0, 0, 1);

(7 args). How did this happen? And how to solve it?

I patched lwip_check.h into this:

/* Modified function from check.h, supplying function name.
    * First for < ver 0.10.
    */
#if (CHECK_MAJOR_VERSION <= 0) && (CHECK_MINOR_VERSION < 10)
     #define tcase_add_named_test(tc,tf) \
             _tcase_add_test((tc),(tf).func,(tf).name,0, 0, 0, 1)
#else
     /*
      * And for >= ver 0.10.
      */
     #define tcase_add_named_test(tc,tf) \
             _tcase_add_test((tc),(tf).func,(tf).name,0, 0, 1)
#endif



Thanks for sharing that, I'll update our sources.

So I tried that, but it didn't work. I have tried with 0.11.0 and 0.12.0 and both versions need the define we have (that you changed to being valid for < 0.10 only).

Regards,
Simon



reply via email to

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