1# SPDX-License-Identifier: GPL-2.0 2 3config DEP 4 bool "DEP" 5 help 6 Test dependency symbol for Kconfig warning coverage. 7 This is used by the warn_changed_input selftest. 8 It intentionally stays unset in the input fragment. 9 The test checks how dependent user input is adjusted. 10 11config A 12 bool "A" 13 depends on DEP 14 help 15 Test bool symbol for changed-input diagnostics. 16 The input fragment requests this symbol as built-in. 17 The unmet dependency on DEP forces the final value to n. 18 The warning should report that downgrade. 19 20config NUM 21 int "NUM" 22 range 10 20 23 help 24 Test integer symbol for changed-input diagnostics. 25 The input fragment requests a value outside the allowed range. 26 Kconfig resolves it to the constrained in-range value. 27 The warning should report that adjustment. 28 29config DUP 30 bool "DUP" 31 depends on DEP 32 help 33 Test duplicate-definition handling for changed-input diagnostics. 34 The input fragment requests this symbol as built-in. 35 The duplicate definition below must not produce a duplicate warning. 36 This keeps the warning output stable for repeated menu entries. 37 38config DUP 39 bool 40 depends on DEP 41