Skip to contentSkip to conversation

Makefile: Update kselftest help information

PATCH In review Shuah Khan 2 participants 3 messages Mar 30, 2020 – Mar 31, 2020

Subsystems (2)
lore
Share & tools
lore

Shuah Khan

author maintainer
#0 lore raw

PATCH 1/1 Makefile: Update kselftest help information

Update kselftest help information.

---
 Makefile | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
Makefile +9 -6
index e56bf7ef182d..5e5c770423c7 100644
@@ -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:'; \
Signature · 1 line
2.20.1
#1 lore raw
Quoted 35 lines · Shuah Khan

Update kselftest help information.

---
 Makefile | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
Makefile +9 -7
index e56bf7ef182d..5e5c770423c7 100644
@@ -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:'; \
--
Quoted 2 lines

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.

Signature · 2 lines
Best Regards
Masahiro Yamada
author maintainer
#2 lore raw
Quoted 33 lines · Masahiro Yamada
Quoted 32 lines · Shuah Khan

Update kselftest help information.

---
  Makefile | 15 +++++++++------
  1 file changed, 9 insertions(+), 6 deletions(-)
Makefile +9 -6
index e56bf7ef182d..5e5c770423c7 100644
@@ -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  ''
Quoted 8 lines
Quoted 5 lines
Makefile +0 -1
         @$(if $(dtstree), \
                 echo 'Devicetree:'; \
--

2.20.1

Applied to linux-kbuild. Thanks.

Thanks.

Quoted 6 lines

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