Skip to content

Enable as many KUnit tests as possible

Anders Roxell linux-ext4 linux-kselftest linux-security-module lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 7 repliesIn review
  2. v26 patches 8 repliesSuperseded

Changes in v3 from the cover letter

Fixed David's comments. KUNIT_RUN_ALL -> KUNIT_ALL_TESTS, and he suggested a great help text.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kunit: Kconfig: enable a KUNIT_ALL_TESTS fragmentlib/kunit/Kconfig+14 -01 reply
2/6kunit: default KUNIT_* fragments to KUNIT_ALL_TESTSlib/kunit/Kconfig+6 -30 replies
3/6lib: Kconfig.debug: default KUNIT_* fragments to KUNIT_ALL_TESTSlib/Kconfig.debug+4 -20 replies
4/6drivers: base: default KUNIT_* fragments to KUNIT_ALL_TESTSdrivers/base/Kconfig drivers/base/test/Kconfig+4 -20 replies
5/6fs: ext4: default KUNIT_* fragments to KUNIT_ALL_TESTSfs/ext4/Kconfig+2 -11 reply
6/6security: apparmor: default KUNIT_* fragments to KUNIT_ALL_TESTSsecurity/apparmor/Kconfig+2 -11 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchDavid GowTheodore Ts'oJohn JohansenBrendan Higgins
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b Acked-off-by
6/6R-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 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/6] Enable as many KUnit tests as possible

Hi,

This patchset will try to enable as many KUnit test fragments as possible for the current .config file.
This will make it easier for both developers that tests their specific feature and also for test-systems that would like to get as much as possible for their current .config file.

I will send a separate KCSAN KUnit patch after this patchset since that isn't in mainline yet.

Since v2:
Fixed David's comments. KUNIT_RUN_ALL -> KUNIT_ALL_TESTS, and he suggested a great help text.

Since v1:
Marco commented to split up the patches, and change a "." to a ",".

Cheers,
Anders

Anders Roxell (6):
kunit: Kconfig: enable a KUNIT_ALL_TESTS fragment
kunit: default KUNIT_* fragments to KUNIT_ALL_TESTS
lib: Kconfig.debug: default KUNIT_* fragments to KUNIT_ALL_TESTS
drivers: base: default KUNIT_* fragments to KUNIT_ALL_TESTS
fs: ext4: default KUNIT_* fragments to KUNIT_ALL_TESTS
security: apparmor: default KUNIT_* fragments to KUNIT_ALL_TESTS

 drivers/base/Kconfig      |  3 ++-
 drivers/base/test/Kconfig |  3 ++-
 fs/ext4/Kconfig           |  3 ++-
 lib/Kconfig.debug         |  6 ++++--
 lib/kunit/Kconfig         | 23 ++++++++++++++++++++---
 security/apparmor/Kconfig |  3 ++-
 6 files changed, 32 insertions(+), 9 deletions(-)
Signature · 1 line
2.20.1