if UNDEFINED endif config SINGLE_DEF bool config MULTI_DEF bool # 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 TESTS_DIR_FROM_ENV string option env="TESTS_DIR_FROM_ENV" config SUB_DIR_FROM_ENV string option env="SUB_DIR_FROM_ENV" config _SOURCED string default "_sourced" config _RSOURCED string default "_rsourced" config _GSOURCED string default "_gsourced" config _GRSOURCED string default "_grsourced" # Expands to "tests/Klocation_sourced" source "$TESTS_DIR_FROM_ENV/Klocation$_SOURCED" # Expands to "sub/Klocation_rsourced" rsource "$SUB_DIR_FROM_ENV/Klocation$_RSOURCED" # Expands to "tests/*ub/Klocation_gsourced[12]", matching # tests/sub/Klocation_gsourced{1,2} gsource "$TESTS_DIR_FROM_ENV/*ub/Klocation$_GSOURCED[12]" # Expands to "sub/Klocation_grsourced[12]", matching # tests/sub/Klocation_grsourced{1,2} grsource "$SUB_DIR_FROM_ENV/Klocation$_GRSOURCED[12]" # No-ops gsource "nonexistent file" grsource "nonexistent file" config MULTI_DEF