diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2023-02-17 12:25:14 +0100 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2023-04-12 17:13:37 +0200 |
commit | ffb85d5c9e80892466fe8cfead60a71f1ee7c918 (patch) | |
tree | 142321f4265292d552dbdd71ef50561bfc585984 /tools/testing/selftests/hid/vmtest.sh | |
parent | 7d0b3f100b144d6910d75158c586b047f7e634a2 (diff) | |
download | linux-stable-ffb85d5c9e80892466fe8cfead60a71f1ee7c918.tar.gz linux-stable-ffb85d5c9e80892466fe8cfead60a71f1ee7c918.tar.bz2 linux-stable-ffb85d5c9e80892466fe8cfead60a71f1ee7c918.zip |
selftests: hid: import hid-tools hid-core 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.
I haven't imported all of hid-tools, the python module, but only the
tests related to the kernel. We can rely on pip to fetch the latest
hid-tools release, and then run the tests directly from the tree.
This should now be easier to request tests when something is not behaving
properly in the HID subsystem.
[0] https://gitlab.freedesktop.org/libevdev/hid-tools
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'tools/testing/selftests/hid/vmtest.sh')
-rwxr-xr-x | tools/testing/selftests/hid/vmtest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/hid/vmtest.sh b/tools/testing/selftests/hid/vmtest.sh index 6346b0620dba..681b906b4853 100755 --- a/tools/testing/selftests/hid/vmtest.sh +++ b/tools/testing/selftests/hid/vmtest.sh @@ -27,7 +27,7 @@ EXIT_STATUS_FILE="${LOG_FILE_BASE}.exit_status" CONTAINER_IMAGE="registry.freedesktop.org/libevdev/hid-tools/fedora/37:2023-02-17.1" TARGETS="${TARGETS:=$(basename ${SCRIPT_DIR})}" -DEFAULT_COMMAND="make -C tools/testing/selftests TARGETS=${TARGETS} run_tests" +DEFAULT_COMMAND="pip3 install hid-tools; make -C tools/testing/selftests TARGETS=${TARGETS} run_tests" usage() { |