mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 23:41:23 +01:00
lib: add tests for sbi_ecall functionality
This patch adds unit tests for verifying the sbi_ecall version, impid handling, and extension registration functions. The tests ensure that the extension registration and unregistration work as expected. Signed-off-by: Akshay Behl <akshaybehl231@gmail.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -14,4 +14,7 @@ carray-sbi_unit_tests-$(CONFIG_SBIUNIT) += locks_test_suite
|
||||
libsbi-objs-$(CONFIG_SBIUNIT) += tests/riscv_locks_test.o
|
||||
|
||||
carray-sbi_unit_tests-$(CONFIG_SBIUNIT) += math_test_suite
|
||||
libsbi-objs-$(CONFIG_SBIUNIT) += tests/sbi_math_test.o
|
||||
libsbi-objs-$(CONFIG_SBIUNIT) += tests/sbi_math_test.o
|
||||
|
||||
carray-sbi_unit_tests-$(CONFIG_SBIUNIT) += ecall_test_suite
|
||||
libsbi-objs-$(CONFIG_SBIUNIT) += tests/sbi_ecall_test.o
|
||||
|
Reference in New Issue
Block a user