Skip to content

Commit b2c4944

Browse files
committed
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>
1 parent 8837469 commit b2c4944

3 files changed

Lines changed: 493 additions & 0 deletions

File tree

tools/testing/selftests/hid/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ include ../../../scripts/Makefile.include
77

88
TEST_PROGS := hid-core.sh
99
TEST_PROGS += hid-gamepad.sh
10+
TEST_PROGS += hid-keyboard.sh
1011

1112
CXX ?= $(CROSS_COMPILE)g++
1213

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
# SPDX-License-Identifier: GPL-2.0
3+
# Runs tests for the HID subsystem
4+
5+
export TARGET=test_keyboard.py
6+
7+
bash ./run-hid-tools-tests.sh

0 commit comments

Comments
 (0)