Debian Codegraph @

tests/Kdepcopy

raw
1 # We verify that the properties below end up in definition order
2
3 config MULTIDEF
4 bool
5 default A
6 default B
7 select AA
8 imply AA
9
10 if FOO
11
12 config MULTIDEF
13 default C
14 default D
15 select BB
16 imply BB
17
18 if BAR
19
20 config MULTIDEF
21 default E
22 default F
23 select CC
24 imply CC
25
26 menu "menu"
27
28 config MULTIDEF
29 default G
30 default H
31 select DD
32 imply DD
33
34 config MULTIDEF
35 default I
36 default J
37 select EE
38 imply EE
39
40 endmenu
41
42 config MULTIDEF
43 default K
44 default L
45 select FF
46 imply FF
47
48 config MULTIDEF
49 default M
50 default N
51 select GG
52 imply GG
53
54 endif
55
56 config MULTIDEF
57 default O
58 default P
59 select HH
60 select II
61 imply HH
62 imply II
63
64 endif
65
66 config MULTIDEF
67 default Q
68 default R
69 select JJ
70 imply JJ
71
72
73 # Same test with choice symbols involved
74
75 config MULTIDEF_CHOICE
76 bool
77 select A
78
79 choice
80 bool "choice"
81
82 config MULTIDEF_CHOICE
83 bool "multidef choice"
84 select B
85
86 endchoice
87
88 config MULTIDEF_CHOICE
89 bool
90 select C
91
92
93 # Same test with ranges involved
94
95 config MULTIDEF_RANGE
96 int
97 range A _
98
99 menu "menu"
100
101 config MULTIDEF_RANGE
102 int
103 range B _
104
105 if FOO
106
107 config MULTIDEF_RANGE
108 int
109 range C _
110
111 endif
112
113 config MULTIDEF_RANGE
114 int
115 range D _
116
117 endmenu
118
119 config MULTIDEF_RANGE
120 int
121 range E _
122
123 config MULTIDEF_RANGE
124 int
125 range F _
126
127
128 # Same test for a choice
129
130 choice MULTICHOICE
131 bool "choice"
132 default A
133
134 config A
135 bool "A"
136
137 config B
138 bool "B"
139
140 config C
141 bool "C"
142
143 config D
144 bool "C"
145
146 config E
147 bool "C"
148
149 endchoice
150
151 if FOO
152
153 choice MULTICHOICE
154 default B
155 endchoice
156
157 menu "menu"
158
159 choice MULTICHOICE
160 default C
161 endchoice
162
163 endmenu
164
165 choice MULTICHOICE
166 default D
167 endchoice
168
169 endif
170
171 choice MULTICHOICE
172 default E
173 endchoice