test: fix test case failure caused by belated timer

See 5cec16eede

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-07-31 16:50:02 +10:00
parent 8a6825f160
commit cbc0b20793

View file

@ -2215,6 +2215,8 @@ START_TEST(touchpad_initial_state)
litest_touch_down(dev, 0, x, y);
litest_touch_move_to(dev, 0, x, y, 80, 80, 10, 1);
litest_touch_up(dev, 0);
libinput_dispatch(libinput1);
libinput_dispatch(libinput2);
litest_wait_for_event(libinput1);
litest_wait_for_event(libinput2);