mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 01:10:08 +01:00
test: disable a bunch of tests relying on libwacom
Some of these may have a non-libwacom solution but let's be honest, you shouldn't be skipping libwacom if you rely on tablets to be precise. Fixes #436 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
200fd44439
commit
6d173f890a
2 changed files with 15 additions and 0 deletions
|
|
@ -5327,6 +5327,7 @@ verify_left_handed_touch_sequence(struct litest_device *finger,
|
|||
|
||||
START_TEST(tablet_rotation_left_handed)
|
||||
{
|
||||
#if HAVE_LIBWACOM
|
||||
struct litest_device *tablet = litest_current_device();
|
||||
enum litest_device_type other;
|
||||
struct litest_device *finger;
|
||||
|
|
@ -5369,11 +5370,13 @@ START_TEST(tablet_rotation_left_handed)
|
|||
|
||||
out:
|
||||
litest_delete_device(finger);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST(tablet_rotation_left_handed_configuration)
|
||||
{
|
||||
#if HAVE_LIBWACOM
|
||||
struct litest_device *tablet = litest_current_device();
|
||||
enum litest_device_type other;
|
||||
struct litest_device *finger;
|
||||
|
|
@ -5421,11 +5424,13 @@ START_TEST(tablet_rotation_left_handed_configuration)
|
|||
|
||||
out:
|
||||
litest_delete_device(finger);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST(tablet_rotation_left_handed_while_in_prox)
|
||||
{
|
||||
#if HAVE_LIBWACOM
|
||||
struct litest_device *tablet = litest_current_device();
|
||||
enum litest_device_type other;
|
||||
struct litest_device *finger;
|
||||
|
|
@ -5512,11 +5517,13 @@ START_TEST(tablet_rotation_left_handed_while_in_prox)
|
|||
|
||||
out:
|
||||
litest_delete_device(finger);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST(tablet_rotation_left_handed_while_touch_down)
|
||||
{
|
||||
#if HAVE_LIBWACOM
|
||||
struct litest_device *tablet = litest_current_device();
|
||||
enum litest_device_type other;
|
||||
struct litest_device *finger;
|
||||
|
|
@ -5578,11 +5585,13 @@ START_TEST(tablet_rotation_left_handed_while_touch_down)
|
|||
|
||||
out:
|
||||
litest_delete_device(finger);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST(tablet_rotation_left_handed_add_touchpad)
|
||||
{
|
||||
#if HAVE_LIBWACOM
|
||||
struct litest_device *tablet = litest_current_device();
|
||||
enum litest_device_type other;
|
||||
struct litest_device *finger;
|
||||
|
|
@ -5630,11 +5639,13 @@ START_TEST(tablet_rotation_left_handed_add_touchpad)
|
|||
|
||||
out:
|
||||
litest_delete_device(finger);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST(tablet_rotation_left_handed_add_tablet)
|
||||
{
|
||||
#if HAVE_LIBWACOM
|
||||
struct litest_device *finger = litest_current_device();
|
||||
enum litest_device_type other;
|
||||
struct litest_device *tablet;
|
||||
|
|
@ -5680,8 +5691,10 @@ START_TEST(tablet_rotation_left_handed_add_tablet)
|
|||
verify_left_handed_tablet_sequence(tablet, li, enabled_to);
|
||||
|
||||
litest_delete_device(tablet);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST(huion_static_btn_tool_pen)
|
||||
{
|
||||
struct litest_device *dev = litest_current_device();
|
||||
|
|
|
|||
|
|
@ -2608,6 +2608,7 @@ touchpad_has_rotation(struct libevdev *evdev)
|
|||
|
||||
START_TEST(touchpad_left_handed_rotation)
|
||||
{
|
||||
#if HAVE_LIBWACOM
|
||||
struct litest_device *dev = litest_current_device();
|
||||
struct libinput_device *d = dev->libinput_device;
|
||||
struct libinput *li = dev->libinput;
|
||||
|
|
@ -2655,6 +2656,7 @@ START_TEST(touchpad_left_handed_rotation)
|
|||
|
||||
libinput_event_destroy(event);
|
||||
} while ((event = libinput_get_event(li)));
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue