Enable as many KUnit tests as possible
Subsystems (2)
v3 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 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
Hi all,
Friendly ping: who can take this?
Cheers,
Anders
Quoted 42 lines · Anders Roxell
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,
AndersAnders Roxell (6):
kunit:Kconfig: enable aKUNIT_ALL_TESTSfragment
kunit: default KUNIT_* fragments toKUNIT_ALL_TESTS
lib:Kconfig.debug: default KUNIT_* fragments toKUNIT_ALL_TESTS
drivers: base: default KUNIT_* fragments toKUNIT_ALL_TESTS
fs: ext4: default KUNIT_* fragments toKUNIT_ALL_TESTS
security: apparmor: default KUNIT_* fragments toKUNIT_ALL_TESTSdrivers/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(-)--
2.20.1
Quoted 4 lines · Anders Roxell
Hi all,
Friendly ping: who can take this?
Sorry, I just reviewed the last patch.
Shuah, do you mind picking this up for 5.8?
Quoted 46 lines
Cheers,
AndersQuoted 42 lines · Anders Roxell
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,
AndersAnders Roxell (6):
kunit:Kconfig: enable aKUNIT_ALL_TESTSfragment
kunit: default KUNIT_* fragments toKUNIT_ALL_TESTS
lib:Kconfig.debug: default KUNIT_* fragments toKUNIT_ALL_TESTS
drivers: base: default KUNIT_* fragments toKUNIT_ALL_TESTS
fs: ext4: default KUNIT_* fragments toKUNIT_ALL_TESTS
security: apparmor: default KUNIT_* fragments toKUNIT_ALL_TESTSdrivers/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(-)--
2.20.1
Thanks!
Shuah Khan
maintainerQuoted 10 lines · Brendan Higgins
Quoted 4 lines · Anders Roxell
Hi all,
Friendly ping: who can take this?
Sorry, I just reviewed the last patch.
Shuah, do you mind picking this up for 5.8?
Yup. Will do. I was watching this thread waiting for your Ack. I will apply it once.
thanks,
-- Shuah
Shuah Khan
maintainerQuoted 7 lines · Shuah Khan
Quoted 6 lines · Brendan Higgins
Quoted 4 lines · Anders Roxell
Hi all,
Friendly ping: who can take this?
Quoted 8 lines
Quoted 4 lines
Sorry, I just reviewed the last patch.
Shuah, do you mind picking this up for 5.8?
Yup. Will do. I was watching this thread waiting for your Ack. I will apply it once.
Applied to linux-kselftest kunit branch for Linux 5.8-rc1
thanks,
-- Shuah