riscv-tests is a repository of unit tests for RISC-V processors. The project provides a framework for testing RISC-V implementations through test virtual machines (TVMs) that define constrained execution environments, allowing the same test programs to run across different processor implementations. Tests are written in RISC-V assembly language processed through the C preprocessor and built using the riscv-gnu-toolchain, with support for multiple instruction set configurations including user-level and supervisor-level variants, integer-only, floating-point, and vector extensions. The repository includes benchmarks, debug tests using gdb and OpenOCD, and originated from testing approaches developed at UC Berkeley and ICSI beginning in 1992.