linux-yocto/tools/testing/selftests/hid
Yun Lu fe05c40ca9 selftest: hid: add the missing tests directory
Commit 160c826b4d ("selftest: hid: add missing run-hid-tools-tests.sh")
has added the run-hid-tools-tests.sh script for it to be installed, but
I forgot to add the tests directory together.

If running the test case without the tests directory,  will results 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 -t hid:hid-core.sh

  /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:331: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
  Plugin: helpconfig, Hook: pytest_cmdline_parse
  UsageError: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
  __main__.py: error: unrecognized arguments: --udevd
    inifile: None
    rootdir: /root/linux/kselftest_install/hid

In fact, the run-hid-tools-tests.sh script uses the scripts in the tests
directory to run tests. The tests directory also needs to be added to be
installed.

Fixes: ffb85d5c9e ("selftests: hid: import hid-tools hid-core tests")
Cc: stable@vger.kernel.org
Signed-off-by: Yun Lu <luyun@kylinos.cn>
Acked-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-10-16 15:55:14 -06:00
..
progs selftests/hid: fix bpf_wq new API 2024-07-24 18:27:21 +02:00
tests selftests/hid: skip tests with HID-BPF if udev-hid-bpf is not installed 2024-05-07 15:39:58 +02:00
.gitignore selftests/hid: Add initial hidraw tests skeleton 2024-08-29 10:39:37 +02:00
config bpfilter: remove bpfilter 2024-01-04 10:23:10 -08:00
config.common selftests/hid: add KASAN to the VM tests 2024-04-10 16:37:23 +02:00
config.x86_64 selftests: hid: add vmtest.sh 2023-01-18 22:08:38 +01:00
hid_bpf.c hid-for-linus-2024091602 2024-09-19 09:42:21 +02:00
hid_common.h selftests/hid: extract the utility part of hid_bpf.c into its own header 2024-08-29 10:39:37 +02:00
hid-apple.sh selftests: hid: import hid-tools hid-apple tests 2023-04-12 17:13:38 +02:00
hid-core.sh selftests: hid: import hid-tools hid-core tests 2023-04-12 17:13:37 +02:00
hid-gamepad.sh selftests: hid: import hid-tools hid-gamepad tests 2023-04-12 17:13:37 +02:00
hid-ite.sh selftests: hid: import hid-tools hid-ite tests 2023-04-12 17:13:38 +02:00
hid-keyboard.sh selftests: hid: import hid-tools hid-keyboards tests 2023-04-12 17:13:37 +02:00
hid-mouse.sh selftests: hid: import hid-tools hid-mouse tests 2023-04-12 17:13:37 +02:00
hid-multitouch.sh selftests: hid: import hid-tools hid-multitouch and hid-tablets tests 2023-04-12 17:13:37 +02:00
hid-sony.sh selftests: hid: import hid-tools hid-sony and hid-playstation tests 2023-04-12 17:13:38 +02:00
hid-tablet.sh selftests: hid: import hid-tools hid-multitouch and hid-tablets tests 2023-04-12 17:13:37 +02:00
hid-usb_crash.sh selftests: hid: import hid-tools usb-crash tests 2023-04-12 17:13:38 +02:00
hid-wacom.sh selftests: hid: import hid-tools wacom tests 2023-04-12 17:13:38 +02:00
hidraw.c selftests/hid: Add HIDIOCREVOKE tests 2024-08-29 10:39:37 +02:00
Makefile selftest: hid: add the missing tests directory 2024-10-16 15:55:14 -06:00
run-hid-tools-tests.sh selftests: hid: import hid-tools hid-core tests 2023-04-12 17:13:37 +02:00
settings selftests: hid: import hid-tools hid-multitouch and hid-tablets tests 2023-04-12 17:13:37 +02:00
vmtest.sh selftests/hid: vmtest.sh: allow finer control on the build steps 2023-12-07 09:52:03 +01:00