]> www.infradead.org Git - linux.git/commit
selftest: hid: add missing run-hid-tools-tests.sh
authorYun Lu <luyun@kylinos.cn>
Sun, 29 Sep 2024 08:55:49 +0000 (16:55 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 1 Oct 2024 14:39:13 +0000 (08:39 -0600)
commit160c826b4dd0d570f0f51cf002cb49bda807e9f5
tree5a2d338e2e24248cfac9297085fa90993914530b
parenta18c835779e1a2ecf8e83c18f5af6a3b05699aaa
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: ffb85d5c9e80 ("selftests: hid: import hid-tools hid-core tests")
Signed-off-by: Yun Lu <luyun@kylinos.cn>
Acked-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/hid/Makefile