summaryrefslogtreecommitdiff
path: root/tests/Kmisc
blob: de44b38372ba10af50ac5ed0a4fc0fc17e1c4a8c (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
# For testing various minor APIs

# is_optional()

choice NOT_OPTIONAL
    bool "not optional"
config A
    bool "A"
config B
    bool "B"
endchoice

choice OPTIONAL
    tristate "optional"
    optional
config C
    tristate "C"
config D
    tristate "D"
endchoice

# get_user_value()

config BOOL
    bool "bool"

config TRISTATE
    tristate # Visibility should not affect user value

config STRING
    string "string"

config INT
    int # Visibility should not affect user value

config HEX
    hex "hex"

comment "comment"
menu "menu"
endmenu