xref: /freebsd/contrib/bmake/unit-tests/moderrs.exp (revision 19261079b74319502c6ffa1249920079f0f69a72)
1mod-unknown-direct:
2want: Unknown modifier 'Z'
3make: Unknown modifier "Z"
4VAR:Z=before--after
5
6mod-unknown-indirect:
7want: Unknown modifier 'Z'
8make: Unknown modifier "Z"
9VAR:Z=before-inner}-after
10
11unclosed-direct:
12want: Unclosed variable expression, expecting '}' for modifier "S,V,v," of variable "VAR" with value "Thevariable"
13make: Unclosed variable expression, expecting '}' for modifier "S,V,v," of variable "VAR" with value "Thevariable"
14VAR:S,V,v,=Thevariable
15
16unclosed-indirect:
17want: Unclosed variable expression after indirect modifier, expecting '}' for variable "VAR"
18make: Unclosed variable expression after indirect modifier, expecting '}' for variable "VAR"
19VAR:S,V,v,=Thevariable
20
21unfinished-indirect:
22want: Unfinished modifier for VAR (',' missing)
23make: Unfinished modifier for "VAR" (',' missing)
24VAR:S,V,v=
25
26unfinished-loop:
27want: Unfinished modifier for UNDEF ('@' missing)
28make: Unfinished modifier for "UNDEF" ('@' missing)
29
30want: Unfinished modifier for UNDEF ('@' missing)
31make: Unfinished modifier for "UNDEF" ('@' missing)
32
331 2 3
34
35loop-close:
36make: Unclosed variable expression, expecting '}' for modifier "@var@${var}}...@" of variable "UNDEF" with value "1}... 2}... 3}..."
371}... 2}... 3}...
381}... 2}... 3}...
39
40words:
41want: Unfinished modifier for UNDEF (']' missing)
42make: Unfinished modifier for "UNDEF" (']' missing)
43
44want: Unfinished modifier for UNDEF (']' missing)
45make: Unfinished modifier for "UNDEF" (']' missing)
46
4713=
48make: Bad modifier ":[123451234512345123451234512345]" for variable "UNDEF"
4912345=S,^ok,:S,^3ok,}
50
51exclam:
52want: Unfinished modifier for VARNAME ('!' missing)
53make: Unfinished modifier for "VARNAME" ('!' missing)
54
55want: Unfinished modifier for ! ('!' missing)
56make: Unfinished modifier for "!" ('!' missing)
57
58
59mod-subst-delimiter:
60make: Missing delimiter for modifier ':S'
611:
62make: Unfinished modifier for "VAR" (',' missing)
632:
64make: Unfinished modifier for "VAR" (',' missing)
653:
66make: Unfinished modifier for "VAR" (',' missing)
674:
68make: Unfinished modifier for "VAR" (',' missing)
695:
70make: Unclosed variable expression, expecting '}' for modifier "S,from,to," of variable "VAR" with value "TheVariable"
716: TheVariable
727: TheVariable
73
74mod-regex-delimiter:
75make: Missing delimiter for :C modifier
761:
77make: Unfinished modifier for "VAR" (',' missing)
782:
79make: Unfinished modifier for "VAR" (',' missing)
803:
81make: Unfinished modifier for "VAR" (',' missing)
824:
83make: Unfinished modifier for "VAR" (',' missing)
845:
85make: Unclosed variable expression, expecting '}' for modifier "C,from,to," of variable "VAR" with value "TheVariable"
866: TheVariable
877: TheVariable
88
89mod-ts-parse:
90112358132134
9115152535558513521534
92make: Bad modifier ":ts\65oct" for variable "FIB"
9365oct}
94make: Bad modifier ":ts\65oct" for variable ""
9565oct}
96make: Bad modifier ":tsxy" for variable "FIB"
97xy}
98
99mod-t-parse:
100make: Bad modifier ":t" for variable "FIB"
101
102make: Bad modifier ":txy" for variable "FIB"
103y}
104make: Bad modifier ":t" for variable "FIB"
105
106make: Bad modifier ":t" for variable "FIB"
107M*}
108
109mod-ifelse-parse:
110make: Unfinished modifier for "FIB" (':' missing)
111
112make: Unfinished modifier for "FIB" (':' missing)
113
114make: Unfinished modifier for "FIB" ('}' missing)
115
116make: Unfinished modifier for "FIB" ('}' missing)
117
118then
119
120mod-remember-parse:
1211 1 2 3 5 8 13 21 34
122make: Unknown modifier "__"
123
124
125mod-sysv-parse:
126make: Unknown modifier "3"
127make: Unclosed variable expression, expecting '}' for modifier "3" of variable "FIB" with value ""
128
129make: Unknown modifier "3="
130make: Unclosed variable expression, expecting '}' for modifier "3=" of variable "FIB" with value ""
131
132make: Unknown modifier "3=x3"
133make: Unclosed variable expression, expecting '}' for modifier "3=x3" of variable "FIB" with value ""
134
1351 1 2 x3 5 8 1x3 21 34
136
137exit status 0
138