summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-07-31 16:50:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-08-03 11:19:54 +1000
commitcbc0b20793382652b54df2b6d0e73529efcfda68 (patch)
treea2966a422286893c764dbb722edcb88caa4f2268
parent8a6825f1602aa9d9c4b29a83d296f55f68b316e0 (diff)
test: fix test case failure caused by belated timer
See 5cec16eede70f6df44b1c39faae614a66594d774 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--test/touchpad.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/touchpad.c b/test/touchpad.c
index 8489861..6d5d5c8 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);