xref: /freebsd/contrib/bmake/unit-tests/moderrs.exp (revision 34a3834eadd03bec7703b8fbf9123f27b1114986)
1make: Unknown modifier ":Z"
2	while evaluating variable "VAR" with value "TheVariable"
3	in command "@echo 'VAR:Z=before-${VAR:Z}-after'"
4	in target "mod-unknown-direct" from moderrs.mk:29
5make: Unknown modifier ":Z"
6	while evaluating indirect modifiers "Z"
7	while evaluating variable "VAR" with value "TheVariable"
8	in command "@echo 'VAR:${MOD_UNKN}=before-${VAR:${MOD_UNKN}:inner}-after'"
9	in target "mod-unknown-indirect" from moderrs.mk:33
10make: Unclosed expression, expecting "}" for modifier "S,V,v,"
11	while evaluating variable "VAR" with value "Thevariable"
12	in command "@echo VAR:S,V,v,=${VAR:S,V,v,"
in target "unclosed-direct" from moderrs.mk:37
make: Unclosed expression after indirect modifier, expecting "
}"
13 while evaluating variable "VAR" with value "Thevariable" 14 in command "@echo VAR:${MOD_TERM},=${VAR:${MOD_S}" 15 in target "unclosed-indirect" from moderrs.mk:41 16make: Unfinished modifier after "v", expecting "," 17 while evaluating indirect modifiers "S,V,v" 18 while evaluating variable "VAR" with value "TheVariable" 19 in command "-@echo "VAR:${MOD_TERM}=${VAR:${MOD_TERM}}"" 20 in target "unfinished-indirect" from moderrs.mk:45 21make: Unfinished modifier after "var}", expecting "@" 22 while evaluating variable "UNDEF" with value "1 2 3" 23 in command "@echo ${UNDEF:U1 2 3:@var}" 24 in target "unfinished-loop-1" from moderrs.mk:49 25make: Unfinished modifier after "...}", expecting "@" 26 while evaluating variable "UNDEF" with value "1 2 3" 27 in command "@echo ${UNDEF:U1 2 3:@var@...}" 28 in target "unfinished-loop-2" from moderrs.mk:52 291 2 3 30make: Unclosed expression, expecting "}" for modifier "@var@${var}}...@" 31 while evaluating variable "UNDEF" with value "1}... 2}... 3}..." 32 in command "@echo ${UNDEF:U1 2 3:@var@${var}}...@" 33 in target "loop-close-1" from moderrs.mk:64 341}... 2}... 3}... 35make: Unfinished modifier after "}", expecting "]" 36 while evaluating variable "UNDEF" with value "1 2 3" 37 in command "@echo ${UNDEF:U1 2 3:[}" 38 in target "words-1" from moderrs.mk:70 39make: Unfinished modifier after "#}", expecting "]" 40 while evaluating variable "UNDEF" with value "1 2 3" 41 in command "@echo ${UNDEF:U1 2 3:[#}" 42 in target "words-2" from moderrs.mk:73 4313= 44make: Invalid modifier ":[123451234512345123451234512345]" 45 while evaluating variable "UNDEF" with value "1 2 3" 46 in command "@echo 12345=${UNDEF:U1 2 3:[123451234512345123451234512345]:S,^$,ok,:S,^3$,ok,}" 47 in target "words-3" from moderrs.mk:96 48make: Unfinished modifier after "echo}", expecting "!" 49 while evaluating variable "VARNAME" with value "" 50 in command "@echo ${VARNAME:!echo}" 51 in target "exclam-1" from moderrs.mk:100 52make: Unfinished modifier after "=exclam}", expecting "!" 53 while evaluating variable "!" with value "!" 54 in command "@echo ${!:L:!=exclam}" 55 in target "exclam-2" from moderrs.mk:107 56make: Missing delimiter for modifier ":S" 57 while evaluating variable "VAR" with value "TheVariable" 58 in command "@echo 1: ${VAR:S"
in target "mod-subst-delimiter-1" from moderrs.mk:111
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 2: ${VAR:S,"
in target "mod-subst-delimiter-2" from moderrs.mk:114
make: Unfinished modifier after "from", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 3: ${VAR:S,from"
in target "mod-subst-delimiter-3" from moderrs.mk:117
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 4: ${VAR:S,from,"
in target "mod-subst-delimiter-4" from moderrs.mk:120
make: Unfinished modifier after "to", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 5: ${VAR:S,from,to"
in target "mod-subst-delimiter-5" from moderrs.mk:123
make: Unclosed expression, expecting "
}"
for modifier "S,from,to," 59 while evaluating variable "VAR" with value "TheVariable" 60 in command "@echo 6: ${VAR:S,from,to,"
in target "mod-subst-delimiter-6" from moderrs.mk:126
7: TheVariable
make: Missing delimiter for modifier ":C"
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 1: ${VAR:C"
in target "mod-regex-delimiter-1" from moderrs.mk:132
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 2: ${VAR:C,"
in target "mod-regex-delimiter-2" from moderrs.mk:135
make: Unfinished modifier after "from", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 3: ${VAR:C,from"
in target "mod-regex-delimiter-3" from moderrs.mk:138
make: Unfinished modifier after "", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 4: ${VAR:C,from,"
in target "mod-regex-delimiter-4" from moderrs.mk:141
make: Unfinished modifier after "to", expecting ","
while evaluating variable "VAR" with value "TheVariable"
in command "@echo 5: ${VAR:C,from,to"
in target "mod-regex-delimiter-5" from moderrs.mk:144
make: Unclosed expression, expecting "
}"
for modifier "C,from,to," 61 while evaluating variable "VAR" with value "TheVariable" 62 in command "@echo 6: ${VAR:C,from,to,"
in target "mod-regex-delimiter-6" from moderrs.mk:147
7: TheVariable
112358132134
15152535558513521534
make: Unknown modifier ":ts\65oct"
while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34"
in command "@echo ${FIB:ts\65oct
} # bad modifier"
63 in target "mod-ts-parse-3" from moderrs.mk:157 64make: Unknown modifier ":ts\65oct" 65 while evaluating "${:U${FIB}:ts\65oct} # bad modifier, variable name is """ with value "1 1 2 3 5 8 13 21 34" 66 in command "@echo ${:U${FIB}:ts\65oct} # bad modifier, variable name is """ 67 in target "mod-ts-parse-4" from moderrs.mk:160 68make: Unknown modifier ":tsxy" 69 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 70 in command "@echo ${FIB:tsxy} # modifier too long" 71 in target "mod-ts-parse-5" from moderrs.mk:163 72make: Unknown modifier ":t" 73 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 74 in command "@echo ${FIB:t"
in target "mod-t-parse-1" from moderrs.mk:167
make: Unknown modifier ":txy"
while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34"
in command "@echo ${FIB:txy
}"
75 in target "mod-t-parse-2" from moderrs.mk:170 76make: Unknown modifier ":t" 77 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 78 in command "@echo ${FIB:t}" 79 in target "mod-t-parse-3" from moderrs.mk:173 80make: Unknown modifier ":t" 81 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 82 in command "@echo ${FIB:t:M*}" 83 in target "mod-t-parse-4" from moderrs.mk:176 84make: Unfinished modifier after "", expecting ":" 85 while evaluating then-branch of condition "FIB" 86 in command "@echo ${FIB:?"
in target "mod-ifelse-parse-1" from moderrs.mk:180
make: Unfinished modifier after "then", expecting ":"
while evaluating then-branch of condition "FIB"
in command "@echo ${FIB:?then"
in target "mod-ifelse-parse-2" from moderrs.mk:183
make: Unfinished modifier after "", expecting "
}"
87 while evaluating else-branch of condition "FIB" 88 in command "@echo ${FIB:?then:"
in target "mod-ifelse-parse-3" from moderrs.mk:186
make: Unfinished modifier after "else", expecting "
}"
89 while evaluating else-branch of condition "FIB" 90 in command "@echo ${FIB:?then:else"
in target "mod-ifelse-parse-4" from moderrs.mk:189
then
1 1 2 3 5 8 13 21 34
make: Unknown modifier ":__"
while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34"
in command "@echo ${FIB:__
} # modifier name too long"
91 in target "mod-remember-parse" from moderrs.mk:196 92make: Unknown modifier ":3" 93 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 94 in command "@echo ${FIB:3"
in target "mod-sysv-parse-1" from moderrs.mk:200
make: Unfinished modifier after "", expecting "
}"
95 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 96 in command "@echo ${FIB:3="
in target "mod-sysv-parse-2" from moderrs.mk:203
make: Unfinished modifier after "x3", expecting "
}"
97 while evaluating variable "FIB" with value "1 1 2 3 5 8 13 21 34" 98 in command "@echo ${FIB:3=x3" 99 in target "mod-sysv-parse-3" from moderrs.mk:206 1001 1 2 x3 5 8 1x3 21 34 101exit status 2 102