Skip to contentSkip to conversation

Enable as many KUnit tests as possible

PATCH Superseded Anders Roxell 1 participant 1 message May 5, 2020

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover 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 v1:
Marco commented to split up the patches, and change a "." to a ",".

Cheers,
Anders

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

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