On Fri, Feb 17, 2023 at 05:18:00PM +0100, Benjamin Tissoires wrote:
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: Benjamin Tissoires benjamin.tissoires@redhat.com
tools/testing/selftests/hid/Makefile | 2 + tools/testing/selftests/hid/config | 1 + tools/testing/selftests/hid/hid-multitouch.sh | 7 + tools/testing/selftests/hid/hid-tablet.sh | 7 + tools/testing/selftests/hid/settings | 3 + .../testing/selftests/hid/tests/test_multitouch.py | 2088 ++++++++++++++++++++ tools/testing/selftests/hid/tests/test_tablet.py | 872 ++++++++ 7 files changed, 2980 insertions(+)
Signed-off-by: Ahelenia Ziemiańska nabijaczleweli@nabijaczleweli.xyz
Best,