The check unit test framework isn't particularly suited to having ck_assert* calls in helper functions. A failed assertion in a helper function or the litest framework merely gives us a the failed line in litest.c. which doesn't tell us which test actually failed.
We're using more and more helper functions to make the tests smaller, so in most cases a test failure doesn't tell us where it failed. This patchset adds a backtracing facility, copied from the xserver's xorg_backtrace(). For now it only changes the helper functions, not the tests, though it looks like we can just do a general s/ck_assert/litest_assert/ if it turns out to be helpful. Cheers, Peter _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
