On Sep 29 2024, Yun Lu wrote:
The HID test cases actually run tests using the run-hid-tools-tests.sh
script. However, if 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
So add the run-hid-tools-tests.sh script to the TEST_FILES in the Makefile.
I assume we probably also want:
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Yun Lu <luyun@xxxxxxxxxx>
Not sure about the timing regarding our next PR to Linus, so in any cases:
Acked-by: Benjamin Tissoires <bentiss@xxxxxxxxxx>