From 0bb3ed717d9f4f204643e3fd0791be2ddd8eaf4c Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Fri, 17 Feb 2023 13:28:45 +0100 Subject: selftests: hid: import hid-tools hid-multitouch and hid-tablets tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These tests have been developed in the hid-tools[0] tree for a while. Now that we have a proper selftests/hid kernel entry and that the tests are more reliable, it is time to directly include those in the kernel tree. There are a lot of multitouch tests, and the default timeout of 45 seconds is not big enough. Bump it to 200 seconds. [0] https://gitlab.freedesktop.org/libevdev/hid-tools Cc: Peter Hutterer Cc: Kai-Heng Feng Cc: Roderick Colenbrander Cc: наб Cc: Blaž Hrastnik Signed-off-by: Ahelenia Ziemiańska Signed-off-by: Peter Hutterer Signed-off-by: Roderick Colenbrander Signed-off-by: Benjamin Tissoires --- tools/testing/selftests/hid/hid-multitouch.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 tools/testing/selftests/hid/hid-multitouch.sh (limited to 'tools/testing/selftests/hid/hid-multitouch.sh') diff --git a/tools/testing/selftests/hid/hid-multitouch.sh b/tools/testing/selftests/hid/hid-multitouch.sh new file mode 100755 index 000000000000..d03a1ddbfb1f --- /dev/null +++ b/tools/testing/selftests/hid/hid-multitouch.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Runs tests for the HID subsystem + +export TARGET=test_multitouch.py + +bash ./run-hid-tools-tests.sh -- cgit