From cbc0b20793382652b54df2b6d0e73529efcfda68 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 31 Jul 2015 16:50:02 +1000 Subject: [PATCH] test: fix test case failure caused by belated timer See 5cec16eede70f6df44b1c39faae614a66594d774 Signed-off-by: Peter Hutterer --- test/touchpad.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/touchpad.c b/test/touchpad.c index 84898618..6d5d5c83 100644 --- a/test/touchpad.c +++ b/test/touchpad.c @@ -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);