Commit 1dec39d4 authored by Benjamin Tissoires's avatar Benjamin Tissoires
Browse files

selftests: hid: import hid-tools wacom 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: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
parent 0bb3ed71
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ TEST_PROGS += hid-keyboard.sh
TEST_PROGS += hid-mouse.sh
TEST_PROGS += hid-multitouch.sh
TEST_PROGS += hid-tablet.sh
TEST_PROGS += hid-wacom.sh

CXX ?= $(CROSS_COMPILE)g++

+3 −0
Original line number Diff line number Diff line
@@ -20,4 +20,7 @@ CONFIG_HID=y
CONFIG_HID_BPF=y
CONFIG_INPUT_EVDEV=y
CONFIG_UHID=y
CONFIG_USB=y
CONFIG_USB_HID=y
CONFIG_HID_MULTITOUCH=y
CONFIG_HID_WACOM=y
+7 −0
Original line number Diff line number Diff line
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Runs tests for the HID subsystem

export TARGET=test_wacom_generic.py

bash ./run-hid-tools-tests.sh
+1360 −0

File added.

Preview size limit exceeded, changes collapsed.

+844 −0

File added.

Preview size limit exceeded, changes collapsed.