Skip to content

Add string test to SBI unit test suite

[email protected] opensbi 1 version Applied

Status from this message: Applied this series to the riscv/opensbi repo.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2lib: tests: Add test for stringlib/sbi/tests/objects.mk lib/sbi/tests/sbi_string_test.c+375 -00 replies
2/2lib: Fix sbi_strchr to correctly handle null terminator searchlib/sbi/sbi_string.c+5 -60 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.

PatchAnup Patel
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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