1*f9afce4fSKees Cook# SPDX-License-Identifier: GPL-2.0 2*f9afce4fSKees Cook# Test transitional symbols for config migration with all Kconfig types 3*f9afce4fSKees Cook 4*f9afce4fSKees Cook# Enable module support for tristate testing 5*f9afce4fSKees Cookconfig MODULES 6*f9afce4fSKees Cook bool "Enable loadable module support" 7*f9afce4fSKees Cook modules 8*f9afce4fSKees Cook default y 9*f9afce4fSKees Cook 10*f9afce4fSKees Cook# Basic migration tests for all types 11*f9afce4fSKees Cookconfig NEW_BOOL 12*f9afce4fSKees Cook bool "New bool option" 13*f9afce4fSKees Cook default OLD_BOOL 14*f9afce4fSKees Cook 15*f9afce4fSKees Cookconfig OLD_BOOL 16*f9afce4fSKees Cook bool 17*f9afce4fSKees Cook transitional 18*f9afce4fSKees Cook 19*f9afce4fSKees Cookconfig NEW_TRISTATE 20*f9afce4fSKees Cook tristate "New tristate option" 21*f9afce4fSKees Cook default OLD_TRISTATE 22*f9afce4fSKees Cook 23*f9afce4fSKees Cookconfig OLD_TRISTATE 24*f9afce4fSKees Cook tristate 25*f9afce4fSKees Cook transitional 26*f9afce4fSKees Cook 27*f9afce4fSKees Cookconfig NEW_STRING 28*f9afce4fSKees Cook string "New string option" 29*f9afce4fSKees Cook default OLD_STRING 30*f9afce4fSKees Cook 31*f9afce4fSKees Cookconfig OLD_STRING 32*f9afce4fSKees Cook string 33*f9afce4fSKees Cook transitional 34*f9afce4fSKees Cook 35*f9afce4fSKees Cookconfig NEW_HEX 36*f9afce4fSKees Cook hex "New hex option" 37*f9afce4fSKees Cook default OLD_HEX 38*f9afce4fSKees Cook 39*f9afce4fSKees Cookconfig OLD_HEX 40*f9afce4fSKees Cook hex 41*f9afce4fSKees Cook transitional 42*f9afce4fSKees Cook 43*f9afce4fSKees Cookconfig NEW_INT 44*f9afce4fSKees Cook int "New int option" 45*f9afce4fSKees Cook default OLD_INT 46*f9afce4fSKees Cook 47*f9afce4fSKees Cookconfig OLD_INT 48*f9afce4fSKees Cook int 49*f9afce4fSKees Cook transitional 50*f9afce4fSKees Cook 51*f9afce4fSKees Cook# Precedence tests for all types 52*f9afce4fSKees Cookconfig NEW_BOOL_PRECEDENCE 53*f9afce4fSKees Cook bool "New bool option with precedence" 54*f9afce4fSKees Cook default OLD_BOOL_PRECEDENCE 55*f9afce4fSKees Cook 56*f9afce4fSKees Cookconfig OLD_BOOL_PRECEDENCE 57*f9afce4fSKees Cook bool 58*f9afce4fSKees Cook transitional 59*f9afce4fSKees Cook 60*f9afce4fSKees Cookconfig NEW_STRING_PRECEDENCE 61*f9afce4fSKees Cook string "New string option with precedence" 62*f9afce4fSKees Cook default OLD_STRING_PRECEDENCE 63*f9afce4fSKees Cook 64*f9afce4fSKees Cookconfig OLD_STRING_PRECEDENCE 65*f9afce4fSKees Cook string 66*f9afce4fSKees Cook transitional 67*f9afce4fSKees Cook 68*f9afce4fSKees Cookconfig NEW_TRISTATE_PRECEDENCE 69*f9afce4fSKees Cook tristate "New tristate option with precedence" 70*f9afce4fSKees Cook default OLD_TRISTATE_PRECEDENCE 71*f9afce4fSKees Cook 72*f9afce4fSKees Cookconfig OLD_TRISTATE_PRECEDENCE 73*f9afce4fSKees Cook tristate 74*f9afce4fSKees Cook transitional 75*f9afce4fSKees Cook 76*f9afce4fSKees Cookconfig NEW_HEX_PRECEDENCE 77*f9afce4fSKees Cook hex "New hex option with precedence" 78*f9afce4fSKees Cook default OLD_HEX_PRECEDENCE 79*f9afce4fSKees Cook 80*f9afce4fSKees Cookconfig OLD_HEX_PRECEDENCE 81*f9afce4fSKees Cook hex 82*f9afce4fSKees Cook transitional 83*f9afce4fSKees Cook 84*f9afce4fSKees Cookconfig NEW_INT_PRECEDENCE 85*f9afce4fSKees Cook int "New int option with precedence" 86*f9afce4fSKees Cook default OLD_INT_PRECEDENCE 87*f9afce4fSKees Cook 88*f9afce4fSKees Cookconfig OLD_INT_PRECEDENCE 89*f9afce4fSKees Cook int 90*f9afce4fSKees Cook transitional 91*f9afce4fSKees Cook 92*f9afce4fSKees Cook# Test that help sections are allowed for transitional symbols 93*f9afce4fSKees Cookconfig OLD_WITH_HELP 94*f9afce4fSKees Cook bool 95*f9afce4fSKees Cook transitional 96*f9afce4fSKees Cook help 97*f9afce4fSKees Cook This transitional symbol has a help section to validate that help is allowed. 98*f9afce4fSKees Cook 99*f9afce4fSKees Cookconfig REGULAR_OPTION 100*f9afce4fSKees Cook bool "Regular option" 101