From 1f90378421edebf27a3bd4152efaa46d2942f27e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 12 Feb 2019 14:04:49 +1000 Subject: test: set LITEST_HOVER for all tests that require the hover feature Where we test for changes on tip state, we need the hover feature Signed-off-by: Peter Hutterer --- test/test-tablet.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test') diff --git a/test/test-tablet.c b/test/test-tablet.c index bf692f30..cedf3bae 100644 --- a/test/test-tablet.c +++ b/test/test-tablet.c @@ -4965,17 +4965,17 @@ TEST_COLLECTION(tablet) litest_add("tablet:button", button_down_up, LITEST_TABLET, LITEST_ANY); litest_add("tablet:button", button_seat_count, LITEST_TABLET, LITEST_ANY); litest_add_no_device("tablet:button", button_up_on_delete); - litest_add("tablet:tip", tip_down_up, LITEST_TABLET, LITEST_ANY); + litest_add("tablet:tip", tip_down_up, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); litest_add("tablet:tip", tip_down_prox_in, LITEST_TABLET, LITEST_ANY); litest_add("tablet:tip", tip_up_prox_out, LITEST_TABLET, LITEST_ANY); - litest_add("tablet:tip", tip_down_btn_change, LITEST_TABLET, LITEST_ANY); - litest_add("tablet:tip", tip_up_btn_change, LITEST_TABLET, LITEST_ANY); - litest_add("tablet:tip", tip_down_motion, LITEST_TABLET, LITEST_ANY); - litest_add("tablet:tip", tip_up_motion, LITEST_TABLET, LITEST_ANY); - litest_add_ranged("tablet:tip", tip_up_motion_one_axis, LITEST_TABLET, LITEST_ANY, &xyaxes); - litest_add("tablet:tip", tip_state_proximity, LITEST_TABLET, LITEST_ANY); - litest_add("tablet:tip", tip_state_axis, LITEST_TABLET, LITEST_ANY); - litest_add("tablet:tip", tip_state_button, LITEST_TABLET, LITEST_ANY); + litest_add("tablet:tip", tip_down_btn_change, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); + litest_add("tablet:tip", tip_up_btn_change, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); + litest_add("tablet:tip", tip_down_motion, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); + litest_add("tablet:tip", tip_up_motion, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); + litest_add_ranged("tablet:tip", tip_up_motion_one_axis, LITEST_TABLET|LITEST_HOVER, LITEST_ANY, &xyaxes); + litest_add("tablet:tip", tip_state_proximity, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); + litest_add("tablet:tip", tip_state_axis, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); + litest_add("tablet:tip", tip_state_button, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); litest_add_no_device("tablet:tip", tip_up_on_delete); litest_add("tablet:motion", motion, LITEST_TABLET, LITEST_ANY); litest_add("tablet:motion", motion_event_state, LITEST_TABLET, LITEST_ANY); @@ -5019,7 +5019,7 @@ TEST_COLLECTION(tablet) litest_add("tablet:relative", relative_no_profile, LITEST_TABLET, LITEST_ANY); litest_add("tablet:relative", relative_no_delta_prox_in, LITEST_TABLET, LITEST_ANY); litest_add("tablet:relative", relative_delta, LITEST_TABLET, LITEST_ANY); - litest_add("tablet:relative", relative_no_delta_on_tip, LITEST_TABLET, LITEST_ANY); + litest_add("tablet:relative", relative_no_delta_on_tip, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); litest_add("tablet:relative", relative_calibration, LITEST_TABLET, LITEST_ANY); litest_add("tablet:touch-arbitration", touch_arbitration, LITEST_TABLET, LITEST_ANY); -- cgit v1.2.3