Skip to content

Commit d3deafa

Browse files
vinceletorvalds
authored andcommitted
lib/: make RUNTIME_TESTS a menuconfig to ease disabling it all
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. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Vincent Legoll <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Byungchul Park <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: "Luis R. Rodriguez" <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 0ade34c commit d3deafa

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/Kconfig.debug

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,10 @@ config DMA_API_DEBUG
16411641

16421642
If unsure, say N.
16431643

1644-
menu "Runtime Testing"
1644+
menuconfig RUNTIME_TESTING_MENU
1645+
bool "Runtime Testing"
1646+
1647+
if RUNTIME_TESTING_MENU
16451648

16461649
config LKDTM
16471650
tristate "Linux Kernel Dump Test Tool Module"
@@ -1929,7 +1932,7 @@ config TEST_DEBUG_VIRTUAL
19291932

19301933
If unsure, say N.
19311934

1932-
endmenu # runtime tests
1935+
endif # RUNTIME_TESTING_MENU
19331936

19341937
config MEMTEST
19351938
bool "Memtest"

0 commit comments

Comments
 (0)