From 0ca8e78ebaed9ded586162753e8224f8ce7ef4a2 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 24 Jun 2019 08:18:06 +0200 Subject: Add {Symbol,Choice}.orig_*, corresponding to the MenuNode fields Getting defaults, select, implies, and ranges without dependencies propagated to conditions can be useful for symbols and choices as well, e.g. when generating standalone documentation for properties. --- tests/Kstr | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'tests') diff --git a/tests/Kstr b/tests/Kstr index 4243918..f55c830 100644 --- a/tests/Kstr +++ b/tests/Kstr @@ -242,3 +242,52 @@ endmenu # Only prompt, no type config PROMPT_ONLY prompt "prompt only" + +# {Symbol,Choice}.orig_* + +if BASE_DEP + +config BOOL_SYM_ORIG + bool + default D1 if DEP + default D2 + select S1 + select S2 if DEP + imply I1 + imply I1 + +config BOOL_SYM_ORIG + default D3 + select S3 + imply I3 if DEP + +config INT_SYM_ORIG + int + range 1 2 if DEP + range 3 4 + +config INT_SYM_ORIG + range 5 6 if DEP + +choice CHOICE_ORIG + bool "choice orig" + default A + default B if DEP + +config A + bool + +config B + bool + +endchoice + +choice CHOICE_ORIG + default C if DEP + +config C + bool + +endchoice + +endif -- cgit v1.2.3