forked from Mirrors/opensbi
lib: tests: Add a test for sbi_bitmap
Add test suite covering all of the functions from lib/sbi/sbi_bitmap.c: __bitmap_and, __bitmap_or and __bitmap_xor. Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
This commit is contained in:
@@ -14,6 +14,9 @@ libsbi-objs-y += riscv_locks.o
|
||||
libsbi-objs-$(CONFIG_SBIUNIT) += sbi_unit_test.o
|
||||
libsbi-objs-$(CONFIG_SBIUNIT) += sbi_unit_tests.o
|
||||
|
||||
libsbi-objs-$(CONFIG_SBIUNIT) += sbi_bitmap_test.o
|
||||
carray-sbi_unit_tests-$(CONFIG_SBIUNIT) += bitmap_test_suite
|
||||
|
||||
libsbi-objs-y += sbi_ecall.o
|
||||
libsbi-objs-y += sbi_ecall_exts.o
|
||||
|
||||
|
Reference in New Issue
Block a user