projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29c8210
)
test: skip the tablet pressure test if we don't have pressure
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 12 Feb 2019 04:02:13 +0000
(14:02 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 13 Feb 2019 08:45:04 +0000
(18:45 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-tablet.c
patch
|
blob
|
history
diff --git
a/test/test-tablet.c
b/test/test-tablet.c
index e3fd228a14a3fcb32bbc1e0b8c417d0f2c090080..ce2fe732e18312838a8cf92d24c455d2736cad35 100644
(file)
--- a/
test/test-tablet.c
+++ b/
test/test-tablet.c
@@
-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);