mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-08 19:50:18 +01:00
test: skip the tablet pressure test if we don't have pressure
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
29c82107cc
commit
067b5be144
1 changed files with 3 additions and 0 deletions
|
|
@ -3525,6 +3525,9 @@ START_TEST(tablet_pressure_min_max)
|
|||
};
|
||||
double p;
|
||||
|
||||
if (!libevdev_has_event_code(dev->evdev, EV_ABS, ABS_PRESSURE))
|
||||
return;
|
||||
|
||||
litest_tablet_proximity_in(dev, 5, 100, axes);
|
||||
litest_drain_events(li);
|
||||
libinput_dispatch(li);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue