mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-02 20:20:19 +01:00
test: only run 3-slot test for touchpads with three slots
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
662c5caff2
commit
32ea86559b
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ START_TEST(touchpad_4fg_clickfinger_btntool_3slots)
|
|||
struct litest_device *dev = litest_current_device();
|
||||
struct libinput *li = dev->libinput;
|
||||
|
||||
if (libevdev_get_num_slots(dev->evdev) >= 4 ||
|
||||
if (libevdev_get_num_slots(dev->evdev) != 3 ||
|
||||
!libevdev_has_event_code(dev->evdev, EV_KEY, BTN_TOOL_TRIPLETAP))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue