linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Makefile: Update kselftest help information
@ 2020-03-30 18:07 Shuah Khan
  2020-03-31 16:11 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Shuah Khan @ 2020-03-30 18:07 UTC (permalink / raw)
  To: masahiroy, michal.lkml
  Cc: Shuah Khan, linux-kbuild, linux-kernel, linux-kselftest

Update kselftest help information.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
---
 Makefile | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index e56bf7ef182d..5e5c770423c7 100644
--- a/Makefile
+++ b/Makefile
@@ -1470,12 +1470,15 @@ help:
 	@echo  '  nsdeps          - Generate missing symbol namespace dependencies'
 	@echo  ''
 	@echo  'Kernel selftest:'
-	@echo  '  kselftest       - Build and run kernel selftest (run as root)'
-	@echo  '                    Build, install, and boot kernel before'
-	@echo  '                    running kselftest on it'
-	@echo  '  kselftest-clean - Remove all generated kselftest files'
-	@echo  '  kselftest-merge - Merge all the config dependencies of kselftest to existing'
-	@echo  '                    .config.'
+	@echo  '  kselftest         - Build and run kernel selftest'
+	@echo  '                      Build, install, and boot kernel before'
+	@echo  '                      running kselftest on it'
+	@echo  '                      Run as root for full coverage'
+	@echo  '  kselftest-all     - Build kernel selftest'
+	@echo  '  kselftest-install - Build and install kernel selftest'
+	@echo  '  kselftest-clean   - Remove all generated kselftest files'
+	@echo  '  kselftest-merge   - Merge all the config dependencies of'
+	@echo  '		      kselftest to existing .config.'
 	@echo  ''
 	@$(if $(dtstree), \
 		echo 'Devicetree:'; \
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile: Update kselftest help information
  2020-03-30 18:07 [PATCH] Makefile: Update kselftest help information Shuah Khan
@ 2020-03-31 16:11 ` Masahiro Yamada
  2020-03-31 16:45   ` Shuah Khan
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2020-03-31 16:11 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Michal Marek, Linux Kbuild mailing list,
	Linux Kernel Mailing List, open list:KERNEL SELFTEST FRAMEWORK

On Tue, Mar 31, 2020 at 3:07 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> Update kselftest help information.
>
> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
> ---
>  Makefile | 15 +++++++++------
>  1 file changed, 9 insertions(+), 6 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index e56bf7ef182d..5e5c770423c7 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1470,12 +1470,15 @@ help:
>         @echo  '  nsdeps          - Generate missing symbol namespace dependencies'
>         @echo  ''
>         @echo  'Kernel selftest:'
> -       @echo  '  kselftest       - Build and run kernel selftest (run as root)'
> -       @echo  '                    Build, install, and boot kernel before'
> -       @echo  '                    running kselftest on it'
> -       @echo  '  kselftest-clean - Remove all generated kselftest files'
> -       @echo  '  kselftest-merge - Merge all the config dependencies of kselftest to existing'
> -       @echo  '                    .config.'
> +       @echo  '  kselftest         - Build and run kernel selftest'
> +       @echo  '                      Build, install, and boot kernel before'
> +       @echo  '                      running kselftest on it'
> +       @echo  '                      Run as root for full coverage'
> +       @echo  '  kselftest-all     - Build kernel selftest'
> +       @echo  '  kselftest-install - Build and install kernel selftest'
> +       @echo  '  kselftest-clean   - Remove all generated kselftest files'
> +       @echo  '  kselftest-merge   - Merge all the config dependencies of'
> +       @echo  '                      kselftest to existing .config.'
>         @echo  ''
>         @$(if $(dtstree), \
>                 echo 'Devicetree:'; \
> --
> 2.20.1
>


Applied to linux-kbuild. Thanks.

But, if we have more entries in the future,
we might want to consider to move these
to tools/testing/selftests/Makefile.



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile: Update kselftest help information
  2020-03-31 16:11 ` Masahiro Yamada
@ 2020-03-31 16:45   ` Shuah Khan
  0 siblings, 0 replies; 3+ messages in thread
From: Shuah Khan @ 2020-03-31 16:45 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Michal Marek, Linux Kbuild mailing list,
	Linux Kernel Mailing List, open list:KERNEL SELFTEST FRAMEWORK,
	Shuah Khan

On 3/31/20 10:11 AM, Masahiro Yamada wrote:
> On Tue, Mar 31, 2020 at 3:07 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
>>
>> Update kselftest help information.
>>
>> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
>> ---
>>   Makefile | 15 +++++++++------
>>   1 file changed, 9 insertions(+), 6 deletions(-)
>>
>> diff --git a/Makefile b/Makefile
>> index e56bf7ef182d..5e5c770423c7 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -1470,12 +1470,15 @@ help:
>>          @echo  '  nsdeps          - Generate missing symbol namespace dependencies'
>>          @echo  ''
>>          @echo  'Kernel selftest:'
>> -       @echo  '  kselftest       - Build and run kernel selftest (run as root)'
>> -       @echo  '                    Build, install, and boot kernel before'
>> -       @echo  '                    running kselftest on it'
>> -       @echo  '  kselftest-clean - Remove all generated kselftest files'
>> -       @echo  '  kselftest-merge - Merge all the config dependencies of kselftest to existing'
>> -       @echo  '                    .config.'
>> +       @echo  '  kselftest         - Build and run kernel selftest'
>> +       @echo  '                      Build, install, and boot kernel before'
>> +       @echo  '                      running kselftest on it'
>> +       @echo  '                      Run as root for full coverage'
>> +       @echo  '  kselftest-all     - Build kernel selftest'
>> +       @echo  '  kselftest-install - Build and install kernel selftest'
>> +       @echo  '  kselftest-clean   - Remove all generated kselftest files'
>> +       @echo  '  kselftest-merge   - Merge all the config dependencies of'
>> +       @echo  '                      kselftest to existing .config.'
>>          @echo  ''
>>          @$(if $(dtstree), \
>>                  echo 'Devicetree:'; \
>> --
>> 2.20.1
>>
> 
> 
> Applied to linux-kbuild. Thanks.

Thanks.

> 
> But, if we have more entries in the future,
> we might want to consider to move these
> to tools/testing/selftests/Makefile.
> 
>
Agreed.

thanks,
-- Shuah


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-31 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 18:07 [PATCH] Makefile: Update kselftest help information Shuah Khan
2020-03-31 16:11 ` Masahiro Yamada
2020-03-31 16:45   ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).