[PATCH weston v2 0/6] tests: Add input event timestamp tests

Pekka Paalanen ppaalanen at gmail.com
Mon Dec 18 09:53:11 UTC 2017

On Wed, 13 Dec 2017 13:27:52 +0200
Alexandros Frantzis <alexandros.frantzis at collabora.com> wrote:

> This patchset enhances the test suite with test cases that verify that
> the server correctly sets input event timestamps. In the process the
> input tests have been reorganized and cleaned up to make it easier to
> support the new test cases.
> A secondary goal of this patchset is to prepare the test suite for
> testing a potential implementation of new high-resolution input
> timestamps in the form of a new protocol (discussions on the proposal
> are already on-going in the mailing list).
> Patches (1) and (2) add timespec helpers to enable conversions
> between timespec and protocol data triplets.
> Patches (3) to (6) add tests for input events with a focus on verifying
> event timestamps.
> In v2 of this patchset I have not included the patch that introduces
> timespec_normalize ([PATCH weston 1/8]), since normalized timespecs are
> now a precondition of the timespec_to_proto helper function, and
> existing timespec functions already produce normalized representations.
> We can reintroduce it if required, e.g., if we need to normalize
> timespecs from untrusted sources.
> Patch-specific changes are listed in each individual patch.
> Alexandros Frantzis (6):
>   shared: Add timespec_from_proto helper function
>   shared: Add timespec_to_proto helper function
>   tests: Add checks for pointer motion and button event timestamps
>   tests: Add test for pointer axis events
>   tests: Add test for keyboard key event timestamps
>   tests: Add test for touch event timestamps

Hi Alf,

I have pushed all patches except number 4 for which I had a tiny
   c83fdaa5..c20b580b  master -> master

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171218/c2433e7c/attachment.sig>

More information about the wayland-devel mailing list