Add string test to SBI unit test suite
Status from this message: Applied this series to the riscv/opensbi repo.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib: tests: Add test for stringlib/ lib/ | +375 | 0 replies | |
| 2/2 | lib: Fix sbi_strchr to correctly handle null terminator searchlib/ | +5 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Anup Patel |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Add string test to SBI unit test suite
From: Chen Pei <[email protected]>
The string tests were added to the SBI SBI unit test framework; then, it was discovered that the implementation of sbi_strchr was not aligned with the C standard behavior, which was fixed in the second patch.
Chen Pei (2):
lib: tests: Add test for string
lib: Fix sbi_strchr to correctly handle null terminator search
lib/sbi/sbi_string.c | 11 +- lib/sbi/tests/objects.mk | 3 + lib/sbi/tests/sbi_string_test.c | 372 ++++++++++++++++++++++++++++++++ 3 files changed, 380 insertions(+), 6 deletions(-) create mode 100644 lib/sbi/tests/sbi_string_test.c
Signature · 7 lines
2.50.1 -- opensbi mailing list [email protected] http://lists.infradead.org/mailman/listinfo/opensbi