selftests: hid: import hid-tools hid-multitouch and hid-tablets tests
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 17 Feb 2023 12:28:45 +0000 (13:28 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 12 Apr 2023 15:13:37 +0000 (17:13 +0200)
commit0bb3ed717d9f4f204643e3fd0791be2ddd8eaf4c
tree47fe2b4114d0d8821e927cf25cac5934b7e963bf
parent356888cb08890a61f4d4565c5950c070feafada1
selftests: hid: import hid-tools hid-multitouch and hid-tablets tests

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 <peter.hutterer@who-t.net>
Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: Roderick Colenbrander <roderick.colenbrander@sony.com>
Cc: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: Blaž Hrastnik <blaz@mxxn.io>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
tools/testing/selftests/hid/Makefile
tools/testing/selftests/hid/config
tools/testing/selftests/hid/hid-multitouch.sh [new file with mode: 0755]
tools/testing/selftests/hid/hid-tablet.sh [new file with mode: 0755]
tools/testing/selftests/hid/settings [new file with mode: 0644]
tools/testing/selftests/hid/tests/test_multitouch.py [new file with mode: 0644]
tools/testing/selftests/hid/tests/test_tablet.py [new file with mode: 0644]