[PATCH v1 2/2] meson.build: use local include path for tests

Peter Hutterer peter.hutterer at who-t.net
Thu Mar 5 03:47:08 UTC 2020


On Mon, Mar 02, 2020 at 04:16:28PM +0100, Peter Seiderer wrote:
> Fixes:
> 
>   ../test/test-common.h: In function ‘print_event’:
>   ../test/test-common.h:97:6: error: ‘const struct input_event’ has no member named ‘input_event_sec’
>       ev->input_event_sec,
>         ^
>   ../test/test-common.h:98:6: error: ‘const struct input_event’ has no member named ‘input_event_usec’
>       ev->input_event_usec,
>         ^
>   ../test/test-common.h:102:6: error: ‘const struct input_event’ has no member named ‘input_event_sec’
>       ev->input_event_sec,
>         ^
>   ../test/test-common.h:103:6: error: ‘const struct input_event’ has no member named ‘input_event_usec’
>       ev->input_event_usec,
>         ^
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>

applied, thanks. FTR it's easier if you submit a PR to gitlab directly
because that way we have the CI etc. run automatically.

https://gitlab.freedesktop.org/libevdev/libevdev/-/merge_requests/42

What I do wonder though is why the CI didn't catch this and whether it's
worth adding a test case for this. I guess they're just older kernel
headers?

Cheers,
   Peter



More information about the Input-tools mailing list