Linux-6.18.2/tools/testing/selftests/riscv
2025-12-23 20:06:59 +08:00
..
abi [feat] fisrst commit of linux-6.18.2 2025-12-23 20:06:59 +08:00
hwprobe [feat] fisrst commit of linux-6.18.2 2025-12-23 20:06:59 +08:00
mm [feat] fisrst commit of linux-6.18.2 2025-12-23 20:06:59 +08:00
sigreturn [feat] fisrst commit of linux-6.18.2 2025-12-23 20:06:59 +08:00
vector [feat] fisrst commit of linux-6.18.2 2025-12-23 20:06:59 +08:00
Makefile [feat] fisrst commit of linux-6.18.2 2025-12-23 20:06:59 +08:00
README [feat] fisrst commit of linux-6.18.2 2025-12-23 20:06:59 +08:00

KSelfTest RISC-V
================

- These tests are riscv specific and so not built or run but just skipped
  completely when env-variable ARCH is found to be different than 'riscv'.

- Holding true the above, RISC-V KSFT tests can be run within the
  KSelfTest framework using standard Linux top-level-makefile targets:

      $ make TARGETS=riscv kselftest-clean
      $ make TARGETS=riscv kselftest

      or

      $ make -C tools/testing/selftests TARGETS=riscv \
		INSTALL_PATH=<your-installation-path> install

      or, alternatively, only specific riscv/ subtargets can be picked:

      $ make -C tools/testing/selftests TARGETS=riscv RISCV_SUBTARGETS="mm vector" \
		INSTALL_PATH=<your-installation-path> install

   Further details on building and running KSFT can be found in:
     Documentation/dev-tools/kselftest.rst