From: Peter Hutterer Date: Thu, 10 Sep 2020 22:39:52 +0000 (+1000) Subject: test: don't run the tool switch test on tablets that require forced prox out X-Git-Tag: 1.16.901~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8860fcf5563eeefe8485ddebc0c6d2138ffe02a;p=platform%2Fupstream%2Flibinput.git 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 --- 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);