summaryrefslogtreecommitdiff
path: root/tests/Kdepcopy
blob: 6abe898eb5d24bcbcbb9666529807d0015bd8b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# We verify that the properties below end up in definition order

config MULTIDEF
    bool
    default A
    default B
    select AA
    imply AA

if FOO

config MULTIDEF
    default C
    default D
    select BB
    imply BB

if BAR

config MULTIDEF
    default E
    default F
    select CC
    imply CC

menu "menu"

config MULTIDEF
    default G
    default H
    select DD
    imply DD

config MULTIDEF
    default I
    default J
    select EE
    imply EE

endmenu

config MULTIDEF
    default K
    default L
    select FF
    imply FF

config MULTIDEF
    default M
    default N
    select GG
    imply GG

endif

config MULTIDEF
    default O
    default P
    select HH
    select II
    imply HH
    imply II

endif

config MULTIDEF
    default Q
    default R
    select JJ
    imply JJ


# Same test with choice symbols involved

config MULTIDEF_CHOICE
    bool
    select A

choice
    bool "choice"

config MULTIDEF_CHOICE
    bool "multidef choice"
    select B

endchoice

config MULTIDEF_CHOICE
    bool
    select C


# Same test with ranges involved

config MULTIDEF_RANGE
    int
    range A _

menu "menu"

config MULTIDEF_RANGE
    int
    range B _

if FOO

config MULTIDEF_RANGE
    int
    range C _

endif

config MULTIDEF_RANGE
    int
    range D _

endmenu

config MULTIDEF_RANGE
    int
    range E _

config MULTIDEF_RANGE
    int
    range F _


# Same test for a choice

choice MULTICHOICE
    bool "choice"
    default A

config A
    bool "A"

config B
    bool "B"

config C
    bool "C"

config D
    bool "C"

config E
    bool "C"

endchoice

if FOO

choice MULTICHOICE
    default B
endchoice

menu "menu"

choice MULTICHOICE
    default C
endchoice

endmenu

choice MULTICHOICE
    default D
endchoice

endif

choice MULTICHOICE
    default E
endchoice