selftests: hid: import hid-tools hid-apple tests
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 17 Feb 2023 12:45:00 +0000 (13:45 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 12 Apr 2023 15:13:38 +0000 (17:13 +0200)
commit9898fa566596a259dee3407ba684f9ff0d514944
treed019274746b8afba92a7aa97fdf1dafa59b65c5f
parent1dec39d489be13b416ab03d19355c712f1bcb21b
selftests: hid: import hid-tools hid-apple 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: Roderick Colenbrander <roderick.colenbrander@sony.com>
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-apple.sh [new file with mode: 0755]
tools/testing/selftests/hid/tests/test_apple_keyboard.py [new file with mode: 0644]