From e8860fcf5563eeefe8485ddebc0c6d2138ffe02a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 11 Sep 2020 08:39:52 +1000 Subject: [PATCH] test: don't run the tool switch test on tablets that require forced prox out This test only worked because we're emulating events that the device never sends that way. Just skip the test, devices that require a forced prox out probably don't handle (or even have) erasers ayway. Signed-off-by: Peter Hutterer --- test/test-tablet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-tablet.c b/test/test-tablet.c index dcf18629..bfc25737 100644 --- a/test/test-tablet.c +++ b/test/test-tablet.c @@ -5932,7 +5932,7 @@ TEST_COLLECTION(tablet) litest_add("tablet:tool", tool_user_data, LITEST_TABLET | LITEST_TOOL_SERIAL, LITEST_ANY); litest_add("tablet:tool", tool_capability, LITEST_TABLET, LITEST_ANY); litest_add_no_device("tablet:tool", tool_capabilities); - litest_add("tablet:tool", tool_type, LITEST_TABLET, LITEST_ANY); + litest_add("tablet:tool", tool_type, LITEST_TABLET, LITEST_FORCED_PROXOUT); litest_add("tablet:tool", tool_in_prox_before_start, LITEST_TABLET, LITEST_TOTEM); litest_add("tablet:tool", tool_direct_switch_skip_tool_update, LITEST_TABLET, LITEST_ANY); litest_add("tablet:tool", tool_direct_switch_with_forced_proxout, LITEST_TABLET, LITEST_ANY);