[PATCH weston 1/7] timespec: Add timespec_add_nsec helper
Pekka Paalanen
ppaalanen at gmail.com
Mon Feb 20 09:26:45 UTC 2017
On Fri, 17 Feb 2017 15:56:47 +0000
Daniel Stone <daniel at fooishbar.org> wrote:
> 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.
Ooh! A good justification.
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170220/43a06a49/attachment.sig>
More information about the wayland-devel
mailing list