| 1 |
if UNDEFINED |
| 2 |
endif |
| 3 |
|
| 4 |
config ONE_DEF |
| 5 |
bool |
| 6 |
|
| 7 |
config TWO_DEF |
| 8 |
bool |
| 9 |
|
| 10 |
config TWO_DEF |
| 11 |
bool |
| 12 |
|
| 13 |
config MANY_DEF |
| 14 |
bool |
| 15 |
|
| 16 |
# Throw in some line continuations too to make sure it doesn't mess up the line |
| 17 |
# numbers |
| 18 |
if y && \ |
| 19 |
y |
| 20 |
if y && \ |
| 21 |
y && \ |
| 22 |
y |
| 23 |
|
| 24 |
# Throw in some help texts too |
| 25 |
|
| 26 |
config HELP_1 |
| 27 |
bool "help 1" |
| 28 |
help |
| 29 |
config HELP_2 |
| 30 |
bool "help 2" |
| 31 |
help |
| 32 |
foo |
| 33 |
bar |
| 34 |
|
| 35 |
baz |
| 36 |
|
| 37 |
config HELP_3 |
| 38 |
help |
| 39 |
foo |
| 40 |
bar |
| 41 |
bool |
| 42 |
config \ |
| 43 |
MANY_DEF |
| 44 |
|
| 45 |
config MANY_DEF |
| 46 |
|
| 47 |
endif |
| 48 |
endif |
| 49 |
|
| 50 |
# Expands to "tests/Klocation_sourced" |
| 51 |
source "$TESTS_DIR_FROM_ENV/Klocation$_SOURCED" |
| 52 |
|
| 53 |
# Expands to "sub/Klocation_rsourced" |
| 54 |
rsource "$SUB_DIR_FROM_ENV/Klocation$_RSOURCED" |
| 55 |
|
| 56 |
# Expands to "tests/*ub/Klocation_gsourced[12]", matching |
| 57 |
# tests/sub/Klocation_gsourced{1,2} |
| 58 |
source "$TESTS_DIR_FROM_ENV/*ub/Klocation$_GSOURCED[12]" |
| 59 |
# Test old syntax too |
| 60 |
gsource "$TESTS_DIR_FROM_ENV/*ub/Klocation$_GSOURCED[12]" |
| 61 |
|
| 62 |
# Expands to "sub/Klocation_grsourced[12]", matching |
| 63 |
# tests/sub/Klocation_grsourced{1,2} |
| 64 |
rsource "$SUB_DIR_FROM_ENV/Klocation$_GRSOURCED[12]" |
| 65 |
# Test old syntax too |
| 66 |
grsource "$SUB_DIR_FROM_ENV/Klocation$_GRSOURCED[12]" |
| 67 |
|
| 68 |
# No-ops |
| 69 |
osource "nonexistent" |
| 70 |
osource "nonexistent*" |
| 71 |
gsource "nonexistent" |
| 72 |
gsource "nonexistent*" |
| 73 |
orsource "nonexistent" |
| 74 |
orsource "nonexistent*" |
| 75 |
grsource "nonexistent" |
| 76 |
grsource "nonexistent*" |
| 77 |
|
| 78 |
config MANY_DEF |