Skip to contentSkip to conversation

Makefile: Add testconfig target into doc

PATCH In review Petr Vorel 2 participants 2 messages May 12, 2018 – May 14, 2018 Kbuild

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 Makefile: Add testconfig target into doc

make testconfig appeared in these commits:
022a4bf6b59d kconfig: tests: add framework for Kconfig unit testing 1903c5119059 kconfig: tests: add basic choice tests

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)
Makefile +3 -0
index d0d2652db174..da9a254203f7 100644
@@ -1477,6 +1477,9 @@ help:
 	@echo  'Documentation targets:'
 	@$(MAKE) -f $(srctree)/Documentation/Makefile dochelp
 	@echo  ''
+	@echo  'Testing targets:'
+	@echo  '  testconfig   - Run Kconfig unit tests'
+	@echo  ''
 	@echo  'Architecture specific targets ($(SRCARCH)):'
 	@$(if $(archhelp),$(archhelp),\
 		echo '  No architecture specific help defined for $(SRCARCH)')
Signature · 1 line
2.17.0
#1 lore raw

2018-05-13 4:46 GMT+09:00 Petr Vorel <[email protected]>:

Quoted 14 lines

make testconfig appeared in these commits:
022a4bf6b59d kconfig: tests: add framework for Kconfig unit testing 1903c5119059 kconfig: tests: add basic choice tests

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)
Makefile +0 -0
index d0d2652db174..da9a254203f7 100644

Makefile help:

Quoted 10 lines
Makefile +3 -1
@@ -1477,6 +1477,9 @@ help:
        @echo  'Documentation targets:'
        @$(MAKE) -f $(srctree)/Documentation/Makefile dochelp
        @echo  ''
+       @echo  'Testing targets:'
+       @echo  '  testconfig   - Run Kconfig unit tests'
+       @echo  ''
        @echo  'Architecture specific targets ($(SRCARCH)):'
        @$(if $(archhelp),$(archhelp),\
                echo '  No architecture specific help defined for $(SRCARCH)')
--

I think this should be added to scripts/kconfig/Makefile

Can you also mention 'python3 and pytest are required' ?

Signature · 2 lines
Best Regards
Masahiro Yamada