Skip to content

cpumask: KUnit test suite fixes and improvements

Sander Vanheule linux-kselftest lkml 3 versions – Applied

Status from this message: Applied in bitmap-for-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v25 patches 9 repliesSuperseded
  3. v15 patches 11 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5lib/test_cpumask: drop cpu_possible_mask full testlib/test_cpumask.c+0 -10 replies
2/5lib/test_cpumask: fix cpu_possible_mask last testlib/test_cpumask.c+1 -10 replies
3/5lib/test_cpumask: follow KUnit style guidelineslib/Kconfig.debug lib/Makefile lib/cpumask_kunit.c+6 -30 replies
4/5lib/cpumask_kunit: log mask contentslib/cpumask_kunit.c+31 -200 replies
5/5lib/cpumask_kunit: add tests file to MAINTAINERSMAINTAINERS+1 -00 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchMaíra CanalDavid GowYury Norov
1/5T-b R-b
2/5T-b R-b A-b
3/5R-b R-b A-b
4/5
5/5R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] cpumask: KUnit test suite fixes and improvements

This series fixes the reported issues, and implements the suggested improvements, for the version of the cpumask tests [1] that was merged with commit c41e8866c28c ("lib/test: introduce cpumask KUnit test suite").

These changes include fixes for the tests, and better alignment with the KUnit style guidelines.

[1] https://lore.kernel.org/all/85217b5de6d62257313ad7fde3e1969421acad75.1659077534.git.sander@svanheule.net/

Changes since v2:

- Update commit message of "lib/test_cpumask: drop cpu_possible_mask full test"
- Use *_MSG() macros to only print mask contents on failure

Changes since v1:

- Collect tags
- Rewrite commit message of "lib/test_cpumask: drop cpu_possible_mask full test"
- Also CC KUnit mailing list

Sander Vanheule (5):
lib/test_cpumask: drop cpu_possible_mask full test lib/test_cpumask: fix cpu_possible_mask last test lib/test_cpumask: follow KUnit style guidelines lib/cpumask_kunit: log mask contents lib/cpumask_kunit: add tests file to MAINTAINERS

 MAINTAINERS                             |  1 +
 lib/Kconfig.debug                       |  7 +++-
 lib/Makefile                            |  2 +-
 lib/{test_cpumask.c => cpumask_kunit.c} | 52 +++++++++++++++----------
 4 files changed, 38 insertions(+), 24 deletions(-)
 rename lib/{test_cpumask.c => cpumask_kunit.c} (58%)
Signature · 1 line
2.37.2