Another neat option would be to include blah_blah.c files (with static
function definitions u want to test) into blah_blah-test.c files. I like
this solution more than macro redefinitions as it's simpler and lets you
call actually static functions which makes testing stricter (just a little
bit :)
On Thu, Dec 05, 2013 at 04:38:19PM +0100, Marek Ch wrote:
> Hi,
>
> I did similar thing like is in Weston for testing static functions. Also, I
> wrote
> few wl_buffer unit tests.
> I appreaciate any comments :)
>
> P. S.: based on mailing here:
> http://lists.freedesktop.org/archives/wayland-de
Hi,
I did similar thing like is in Weston for testing static functions. Also, I
wrote
few wl_buffer unit tests.
I appreaciate any comments :)
P. S.: based on mailing here:
http://lists.freedesktop.org/archives/wayland-devel/2013-November/012299.html
Thanks,
Marek Ch
Marek Ch (3):
wayland-p