mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 23:50:45 +01:00
test: fix a multitap test expecting one tap too few
The problem was masked by a missing timeout, causing one up / down pair to not yet be enqueued before reading the queue.
This commit is contained in:
parent
490131ff61
commit
bba79754d6
1 changed files with 4 additions and 1 deletions
|
|
@ -3498,7 +3498,10 @@ START_TEST(touchpad_tap_palm_multitap_down_again)
|
|||
msleep(10);
|
||||
}
|
||||
|
||||
for (ntaps = 0; ntaps <= 2 * range; ntaps++) {
|
||||
litest_timeout_tap();
|
||||
libinput_dispatch(li);
|
||||
|
||||
for (ntaps = 0; ntaps <= 2 * range + 1; ntaps++) {
|
||||
litest_assert_button_event(li,
|
||||
BTN_LEFT,
|
||||
LIBINPUT_BUTTON_STATE_PRESSED);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue