Skip to content

Commit 160c826

Browse files
Yun Lushuahkh
authored andcommitted
selftest: hid: add missing run-hid-tools-tests.sh
HID test cases run tests using the run-hid-tools-tests.sh script. When installed with "make install", the run-hid-tools-tests.sh script will not be copied over, resulting in the following error message. make -C tools/testing/selftests/ TARGETS=hid install \ INSTALL_PATH=$KSFT_INSTALL_PATH cd $KSFT_INSTALL_PATH ./run_kselftest.sh -c hid selftests: hid: hid-core.sh bash: ./run-hid-tools-tests.sh: No such file or directory Add the run-hid-tools-tests.sh script to the TEST_FILES in the Makefile for it to be installed. Fixes: ffb85d5 ("selftests: hid: import hid-tools hid-core tests") Signed-off-by: Yun Lu <[email protected]> Acked-by: Benjamin Tissoires <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent a18c835 commit 160c826

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/testing/selftests/hid/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ TEST_PROGS += hid-tablet.sh
1717
TEST_PROGS += hid-usb_crash.sh
1818
TEST_PROGS += hid-wacom.sh
1919

20+
TEST_FILES := run-hid-tools-tests.sh
21+
2022
CXX ?= $(CROSS_COMPILE)g++
2123

2224
HOSTPKG_CONFIG := pkg-config

0 commit comments

Comments
 (0)