Commit 6d173f89 authored by Peter Hutterer's avatar Peter Hutterer

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 #436Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 200fd444
...@@ -5327,6 +5327,7 @@ verify_left_handed_touch_sequence(struct litest_device *finger, ...@@ -5327,6 +5327,7 @@ verify_left_handed_touch_sequence(struct litest_device *finger,
START_TEST(tablet_rotation_left_handed) START_TEST(tablet_rotation_left_handed)
{ {
#if HAVE_LIBWACOM
struct litest_device *tablet = litest_current_device(); struct litest_device *tablet = litest_current_device();
enum litest_device_type other; enum litest_device_type other;
struct litest_device *finger; struct litest_device *finger;
...@@ -5369,11 +5370,13 @@ START_TEST(tablet_rotation_left_handed) ...@@ -5369,11 +5370,13 @@ START_TEST(tablet_rotation_left_handed)
out: out:
litest_delete_device(finger); litest_delete_device(finger);
#endif
} }
END_TEST END_TEST
START_TEST(tablet_rotation_left_handed_configuration) START_TEST(tablet_rotation_left_handed_configuration)
{ {
#if HAVE_LIBWACOM
struct litest_device *tablet = litest_current_device(); struct litest_device *tablet = litest_current_device();
enum litest_device_type other; enum litest_device_type other;
struct litest_device *finger; struct litest_device *finger;
...@@ -5421,11 +5424,13 @@ START_TEST(tablet_rotation_left_handed_configuration) ...@@ -5421,11 +5424,13 @@ START_TEST(tablet_rotation_left_handed_configuration)
out: out:
litest_delete_device(finger); litest_delete_device(finger);
#endif
} }
END_TEST END_TEST
START_TEST(tablet_rotation_left_handed_while_in_prox) START_TEST(tablet_rotation_left_handed_while_in_prox)
{ {
#if HAVE_LIBWACOM
struct litest_device *tablet = litest_current_device(); struct litest_device *tablet = litest_current_device();
enum litest_device_type other; enum litest_device_type other;
struct litest_device *finger; struct litest_device *finger;
...@@ -5512,11 +5517,13 @@ START_TEST(tablet_rotation_left_handed_while_in_prox) ...@@ -5512,11 +5517,13 @@ START_TEST(tablet_rotation_left_handed_while_in_prox)
out: out:
litest_delete_device(finger); litest_delete_device(finger);
#endif
} }
END_TEST END_TEST
START_TEST(tablet_rotation_left_handed_while_touch_down) START_TEST(tablet_rotation_left_handed_while_touch_down)
{ {
#if HAVE_LIBWACOM
struct litest_device *tablet = litest_current_device(); struct litest_device *tablet = litest_current_device();
enum litest_device_type other; enum litest_device_type other;
struct litest_device *finger; struct litest_device *finger;
...@@ -5578,11 +5585,13 @@ START_TEST(tablet_rotation_left_handed_while_touch_down) ...@@ -5578,11 +5585,13 @@ START_TEST(tablet_rotation_left_handed_while_touch_down)
out: out:
litest_delete_device(finger); litest_delete_device(finger);
#endif
} }
END_TEST END_TEST
START_TEST(tablet_rotation_left_handed_add_touchpad) START_TEST(tablet_rotation_left_handed_add_touchpad)
{ {
#if HAVE_LIBWACOM
struct litest_device *tablet = litest_current_device(); struct litest_device *tablet = litest_current_device();
enum litest_device_type other; enum litest_device_type other;
struct litest_device *finger; struct litest_device *finger;
...@@ -5630,11 +5639,13 @@ START_TEST(tablet_rotation_left_handed_add_touchpad) ...@@ -5630,11 +5639,13 @@ START_TEST(tablet_rotation_left_handed_add_touchpad)
out: out:
litest_delete_device(finger); litest_delete_device(finger);
#endif
} }
END_TEST END_TEST
START_TEST(tablet_rotation_left_handed_add_tablet) START_TEST(tablet_rotation_left_handed_add_tablet)
{ {
#if HAVE_LIBWACOM
struct litest_device *finger = litest_current_device(); struct litest_device *finger = litest_current_device();
enum litest_device_type other; enum litest_device_type other;
struct litest_device *tablet; struct litest_device *tablet;
...@@ -5680,8 +5691,10 @@ START_TEST(tablet_rotation_left_handed_add_tablet) ...@@ -5680,8 +5691,10 @@ START_TEST(tablet_rotation_left_handed_add_tablet)
verify_left_handed_tablet_sequence(tablet, li, enabled_to); verify_left_handed_tablet_sequence(tablet, li, enabled_to);
litest_delete_device(tablet); litest_delete_device(tablet);
#endif
} }
END_TEST END_TEST
START_TEST(huion_static_btn_tool_pen) START_TEST(huion_static_btn_tool_pen)
{ {
struct litest_device *dev = litest_current_device(); struct litest_device *dev = litest_current_device();
......
...@@ -2608,6 +2608,7 @@ touchpad_has_rotation(struct libevdev *evdev) ...@@ -2608,6 +2608,7 @@ touchpad_has_rotation(struct libevdev *evdev)
START_TEST(touchpad_left_handed_rotation) START_TEST(touchpad_left_handed_rotation)
{ {
#if HAVE_LIBWACOM
struct litest_device *dev = litest_current_device(); struct litest_device *dev = litest_current_device();
struct libinput_device *d = dev->libinput_device; struct libinput_device *d = dev->libinput_device;
struct libinput *li = dev->libinput; struct libinput *li = dev->libinput;
...@@ -2655,6 +2656,7 @@ START_TEST(touchpad_left_handed_rotation) ...@@ -2655,6 +2656,7 @@ START_TEST(touchpad_left_handed_rotation)
libinput_event_destroy(event); libinput_event_destroy(event);
} while ((event = libinput_get_event(li))); } while ((event = libinput_get_event(li)));
#endif
} }
END_TEST END_TEST
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment