summaryrefslogtreecommitdiff
path: root/tests/Kdepcopy
blob: 689bcc370e4d33163510189c3aa8192f168616b1 (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
# 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 choices 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 _