2020-05-11 13:15:18

by Anders Roxell

[permalink] [raw]
Subject: [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(-)

--
2.20.1


2020-05-27 11:57:08

by Anders Roxell

[permalink] [raw]
Subject: Re: [PATCH v3 0/6] Enable as many KUnit tests as possible

Hi all,

Friendly ping: who can take this?

Cheers,
Anders

On Mon, 11 May 2020 at 15:14, Anders Roxell <[email protected]> wrote:
>
> 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(-)
>
> --
> 2.20.1
>

2020-05-28 19:09:12

by Brendan Higgins

[permalink] [raw]
Subject: Re: [PATCH v3 0/6] Enable as many KUnit tests as possible

On Wed, May 27, 2020 at 4:49 AM Anders Roxell <[email protected]> wrote:
>
> 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?

> Cheers,
> Anders
>
> On Mon, 11 May 2020 at 15:14, Anders Roxell <[email protected]> wrote:
> >
> > 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(-)
> >
> > --
> > 2.20.1
> >

Thanks!

2020-05-28 19:14:50

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH v3 0/6] Enable as many KUnit tests as possible

On 5/28/20 1:07 PM, Brendan Higgins wrote:
> On Wed, May 27, 2020 at 4:49 AM Anders Roxell <[email protected]> wrote:
>>
>> 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

2020-06-02 19:41:27

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH v3 0/6] Enable as many KUnit tests as possible

On 5/28/20 1:13 PM, Shuah Khan wrote:
> On 5/28/20 1:07 PM, Brendan Higgins wrote:
>> On Wed, May 27, 2020 at 4:49 AM Anders Roxell
>> <[email protected]> wrote:
>>>
>>> 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.
>

Applied to linux-kselftest kunit branch for Linux 5.8-rc1

thanks,
-- Shuah