README 834 B

123456789101112131415161718192021222324
  1. KSelfTest RISC-V
  2. ================
  3. - These tests are riscv specific and so not built or run but just skipped
  4. completely when env-variable ARCH is found to be different than 'riscv'.
  5. - Holding true the above, RISC-V KSFT tests can be run within the
  6. KSelfTest framework using standard Linux top-level-makefile targets:
  7. $ make TARGETS=riscv kselftest-clean
  8. $ make TARGETS=riscv kselftest
  9. or
  10. $ make -C tools/testing/selftests TARGETS=riscv \
  11. INSTALL_PATH=<your-installation-path> install
  12. or, alternatively, only specific riscv/ subtargets can be picked:
  13. $ make -C tools/testing/selftests TARGETS=riscv RISCV_SUBTARGETS="mm vector" \
  14. INSTALL_PATH=<your-installation-path> install
  15. Further details on building and running KSFT can be found in:
  16. Documentation/dev-tools/kselftest.rst