[v3,0/2] string: Convert selftests to KUnit

Message ID 20240301202524.make.800-kees@kernel.org
Headers
Series string: Convert selftests to KUnit |

Message

Kees Cook March 1, 2024, 8:27 p.m. UTC
  Hi,

I realized the string selftests hadn't been converted to KUnit yet. Do that.

-Kees

 v3: retain all text context in failure reporting
 v2: https://lore.kernel.org/lkml/20240301002416.it.092-kees@kernel.org/
 v1: https://lore.kernel.org/lkml/20240229233432.work.675-kees@kernel.org/


Kees Cook (2):
  string: Convert selftest to KUnit
  string: Convert helpers selftest to KUnit

 MAINTAINERS                                   |   4 +-
 lib/Kconfig.debug                             |  12 +-
 lib/Makefile                                  |   4 +-
 ...tring_helpers.c => string_helpers_kunit.c} | 216 ++++++++----------
 lib/{test_string.c => string_kunit.c}         | 200 ++++++----------
 5 files changed, 178 insertions(+), 258 deletions(-)
 rename lib/{test-string_helpers.c => string_helpers_kunit.c} (72%)
 rename lib/{test_string.c => string_kunit.c} (46%)