[PATCH weston 1/7] timespec: Add timespec_add_nsec helper

Daniel Stone daniel at fooishbar.org
Fri Feb 17 15:56:47 UTC 2017


Hi,

On 14 February 2017 at 14:09, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> On Tue, 14 Feb 2017 13:18:01 +0000
> Daniel Stone <daniels at collabora.com> wrote:
>> +ZUC_TEST(timespec_test, timespec_add_nsec)
>> +{
>> +     struct timespec a, r;
>
> An array and a loop to ease readability? :-)

I had a flash of doing this, and remembered why I didn't: it makes the
ZUC test-fail messages a bit harder to unpack as you lose
line/value/etc.

Cheers,
Daniel


More information about the wayland-devel mailing list