[kvm-unit-tests PATCH 0/3] riscv: sbi: Provide sbiret_report/check
Andrew Jones
andrew.jones at linux.dev
Wed Jan 29 09:01:39 PST 2025
It's commom for SBI tests to expect a particular error return (or no
error, which case it expects the returned error to be SBI_SUCCESS).
When we don't get the expected error it'd be nice to output what we
did get. gen_report() in the SBI tests were doing that for the BASE
tests, improve it and export it to be used by all SBI tests.
Andrew Jones (3):
riscv: sbi: Improve gen_report
riscv: sbi: Export sbiret_report/check
riscv: sbi: Add sbiret_report_error
riscv/sbi-tests.h | 30 ++++++++++++++++++++++++++++++
riscv/sbi.c | 30 ++++++++----------------------
2 files changed, 38 insertions(+), 22 deletions(-)
--
2.48.1
More information about the kvm-riscv
mailing list