mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] make RUNTIME_TESTS a menuconfig to ease disabling it all
@ 2017-12-09 16:27 Vincent Legoll
  2018-01-05 11:40 ` Daniel Thompson
  0 siblings, 1 reply; 8+ messages in thread
From: Vincent Legoll @ 2017-12-09 16:27 UTC (permalink / raw)
  To: Andrew Morton, Ingo Molnar, Byungchul Park, Peter Zijlstra,
	Paul E. McKenney, Josh Poimboeuf, Geert Uytterhoeven,
	Randy Dunlap, Luis R. Rodriguez, Nicholas Piggin,
	Thomas Gleixner, linux-kernel
  Cc: Vincent Legoll

No need to get into the submenu to disable all related
config entries.

This makes it easier to disable all RUNTIME_TESTS config options
without entering the submenu. It will also enable one to see that
en/dis-abled state from the outside menu.

This is only intended to change menuconfig UI, not change
the config dependencies.

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 lib/Kconfig.debug | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 947d3e2ed5c2..9436714254b7 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1660,7 +1660,10 @@ config DMA_API_DEBUG
 
 	  If unsure, say N.
 
-menu "Runtime Testing"
+menuconfig RUNTIME_TESTING_MENU
+	bool "Runtime Testing"
+
+if RUNTIME_TESTING_MENU
 
 config LKDTM
 	tristate "Linux Kernel Dump Test Tool Module"
@@ -1948,7 +1951,7 @@ config TEST_DEBUG_VIRTUAL
 
 	  If unsure, say N.
 
-endmenu # runtime tests
+endif # RUNTIME_TESTING_MENU
 
 config MEMTEST
 	bool "Memtest"
-- 
2.14.1

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

end of thread, other threads:[~2018-01-08  4:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-09 16:27 [PATCH] make RUNTIME_TESTS a menuconfig to ease disabling it all Vincent Legoll
2018-01-05 11:40 ` Daniel Thompson
2018-01-05 12:29   ` Vincent Legoll
2018-01-06 17:18     ` [PATCH, v2] " Vincent Legoll
2018-01-06 17:18       ` [PATCH] " Vincent Legoll
2018-01-06 17:24         ` [PATCH, v2] " Vincent Legoll
2018-01-06 17:24           ` [PATCH] " Vincent Legoll
2018-01-08  4:46             ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®