Re: [PATCH libinput] test: add a bunch of libinput_dispatch() before timeout calls

2015-07-28 Thread Jonas Ã…dahl
On Wed, Jul 29, 2015 at 10:35:36AM +1000, Peter Hutterer wrote: > 98346f6a1aa added a warning about timeouts expiring before now. Those warnings > are triggered by a bunch of tests where we have events, then a timeout, then a > libinput_dispatch(). > > All these are bugs in the test, since we can'

[PATCH libinput] test: add a bunch of libinput_dispatch() before timeout calls

2015-07-28 Thread Peter Hutterer
98346f6a1aa added a warning about timeouts expiring before now. Those warnings are triggered by a bunch of tests where we have events, then a timeout, then a libinput_dispatch(). All these are bugs in the test, since we can't guarantee the order of fds (and thus which fd the events are pulled off