OSDN Git Service

selftests: hid: import hid-tools hid-keyboards tests
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 17 Feb 2023 12:23:23 +0000 (13:23 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 12 Apr 2023 15:13:37 +0000 (17:13 +0200)
commitb2c4944e16744aee54e312b3be9c044130297f50
tree2c47835809d1a909a5f5a8eaf17bc92206ab34e3
parent8837469ac4de8e72ed972d7123d40218a7922f80
selftests: hid: import hid-tools hid-keyboards 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.

[0] https://gitlab.freedesktop.org/libevdev/hid-tools

Cc: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Cc: Roderick Colenbrander <roderick.colenbrander@sony.com>
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/hid-keyboard.sh [new file with mode: 0755]
tools/testing/selftests/hid/tests/test_keyboard.py [new file with mode: 0644]