diff mbox series

Makefile: Update kselftest help information

Message ID 20200330180711.14393-1-skhan@linuxfoundation.org (mailing list archive)
State Mainlined
Commit e51d8dacf2724ebb8eda8ec69dd81da4f70a4213
Headers show
Series Makefile: Update kselftest help information | expand

Commit Message

Shuah Khan March 30, 2020, 6:07 p.m. UTC
Update kselftest help information.

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

Comments

Masahiro Yamada March 31, 2020, 4:11 p.m. UTC | #1
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.
Shuah Khan March 31, 2020, 4:45 p.m. UTC | #2
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
diff mbox series

Patch

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:'; \