summaryrefslogtreecommitdiff
path: root/tests/Klocation
blob: 3901ebf5ab1d380a10f13fc1649da311bf0ecf85 (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
if UNDEFINED
endif

config SINGLE_DEF

config MULTI_DEF

# Throw in some line continuations too to make sure it doesn't mess up the line
# numbers
if y && \
   y
if y && \
   y && \
   y

# Throw in some help texts too

config HELP_1
    bool "help 1"
    help
config HELP_2
    bool "help 2"
    help
      foo
      bar

        baz

config MULTI_DEF

endif
endif

config EXPANDED_FROM_ENV
    string
    option env="EXPANDED_FROM_ENV"

config _INCLUDED
    string
    default "_included"

# Expands to "tests/Klocation_included"
source "$EXPANDED_FROM_ENV/Klocation$_INCLUDED"

config MULTI_DEF