xref: /freebsd/contrib/bmake/unit-tests/suff.exp (revision 6a7405f5a6b639682cacf01e35d561411ff556aa)
1*6a7405f5SSimon J. GerratyAdding suffix ".from"
2*6a7405f5SSimon J. GerratyAdding suffix ".to"
3*6a7405f5SSimon J. Gerratydefining transformation from `.from' to `.to'
4*6a7405f5SSimon J. Gerratyinserting ".from" (1) at end of list
5*6a7405f5SSimon J. Gerratyinserting ".to" (2) at end of list
6*6a7405f5SSimon J. Gerratytransformation .from.to complete
7*6a7405f5SSimon J. GerratyVar_Parse: ${.PREFIX}${.ARCHIVE}.additional (eval)
8*6a7405f5SSimon J. GerratyVar_Parse: ${.ARCHIVE}.additional (eval)
9*6a7405f5SSimon J. GerratyGlobal: .ALLTARGETS =  step1 edge-case.to everything ${.PREFIX}${.ARCHIVE}.additional
10*6a7405f5SSimon J. GerratyGlobal: .ALLTARGETS =  step1 edge-case.to everything ${.PREFIX}${.ARCHIVE}.additional edge-case.from
11*6a7405f5SSimon J. GerratyGlobal: .ALLTARGETS =  step1 edge-case.to everything ${.PREFIX}${.ARCHIVE}.additional edge-case.from edge-case.additional
12*6a7405f5SSimon J. GerratyGlobal: .ALLTARGETS =  step1 edge-case.to everything ${.PREFIX}${.ARCHIVE}.additional edge-case.from edge-case.additional a*.mk
13*6a7405f5SSimon J. GerratyGlobal: delete .PARSEDIR
14*6a7405f5SSimon J. GerratyGlobal: delete .PARSEFILE
15*6a7405f5SSimon J. GerratyGlobal: ignoring delete '.INCLUDEDFROMDIR' as it is not found
16*6a7405f5SSimon J. GerratyGlobal: ignoring delete '.INCLUDEDFROMFILE' as it is not found
17*6a7405f5SSimon J. GerratyVar_Parse: ${.MAKE.DEPENDFILE} (eval)
18*6a7405f5SSimon J. GerratyVar_Parse: ${.MAKE.MODE:tl} (eval)
19*6a7405f5SSimon J. GerratyEvaluating modifier ${.MAKE.MODE:t...} on value "" (eval, undefined)
20*6a7405f5SSimon J. GerratyResult of ${.MAKE.MODE:tl} is "" (eval, undefined)
21*6a7405f5SSimon J. GerratyGlobal: MFLAGS =   -r -k -d sv
22*6a7405f5SSimon J. GerratyVar_Parse: ${.MAKEFLAGS} ${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@} (eval)
23*6a7405f5SSimon J. GerratyVar_Parse: ${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@} (eval)
24*6a7405f5SSimon J. GerratyEvaluating modifier ${.MAKEOVERRIDES:O} on value ""
25*6a7405f5SSimon J. GerratyResult of ${.MAKEOVERRIDES:O} is ""
26*6a7405f5SSimon J. GerratyEvaluating modifier ${.MAKEOVERRIDES:u} on value ""
27*6a7405f5SSimon J. GerratyResult of ${.MAKEOVERRIDES:u} is ""
28*6a7405f5SSimon J. GerratyEvaluating modifier ${.MAKEOVERRIDES:@...} on value ""
29*6a7405f5SSimon J. GerratyModifier part: "v"
30*6a7405f5SSimon J. GerratyModifier part: "$v=${$v:Q}"
31*6a7405f5SSimon J. GerratyModifyWords: split "" into 1 word
32*6a7405f5SSimon J. GerratyCommand: ignoring delete 'v' as it is not found
33*6a7405f5SSimon J. GerratyResult of ${.MAKEOVERRIDES:@v@$v=${$v:Q}@} is ""
34*6a7405f5SSimon J. GerratyGlobal: .INCLUDES = # (empty)
35*6a7405f5SSimon J. GerratyGlobal: .LIBS = # (empty)
36*6a7405f5SSimon J. GerratyGlobal: ignoring delete '.SHELL' as it is not found
37*6a7405f5SSimon J. GerratyCommand: .SHELL = /bin/sh
38*6a7405f5SSimon J. GerratyGlobal: .ALLTARGETS =  step1 edge-case.to everything ${.PREFIX}${.ARCHIVE}.additional edge-case.from edge-case.additional a*.mk .END
39*6a7405f5SSimon J. Gerratystep1: @ = step1
40*6a7405f5SSimon J. Gerratystep1: @ = step1
41*6a7405f5SSimon J. Gerratystep1: * = step1
42*6a7405f5SSimon J. GerratySuffFindDeps "step1"
43*6a7405f5SSimon J. Gerratystep1: @ = step1
44*6a7405f5SSimon J. Gerratystep1: * = step1
45*6a7405f5SSimon J. Gerraty	No valid suffix on step1
46*6a7405f5SSimon J. GerratyWildcard expanding "edge-case.to"...suffix is ".to"...
47*6a7405f5SSimon J. Gerratyedge-case.to: @ = edge-case.to
48*6a7405f5SSimon J. Gerratyedge-case.to: @ = edge-case.to
49*6a7405f5SSimon J. Gerratyedge-case.to: * = edge-case.to
50*6a7405f5SSimon J. GerratySuffFindDeps "edge-case.to"
51*6a7405f5SSimon J. Gerraty	trying edge-case.from...got it
52*6a7405f5SSimon J. Gerratyedge-case.to: @ = edge-case.to
53*6a7405f5SSimon J. Gerratyedge-case.to: * = edge-case
54*6a7405f5SSimon J. GerratyExpanding "${.PREFIX}${.ARCHIVE}.additional"...Var_Parse: ${.PREFIX}${.ARCHIVE}.additional (eval)
55*6a7405f5SSimon J. GerratyVar_Parse: ${.ARCHIVE}.additional (eval)
56*6a7405f5SSimon J. Gerratyedge-case.additional...
57*6a7405f5SSimon J. Gerraty	applying .from -> .to to "edge-case.to"
58*6a7405f5SSimon J. Gerratyeverything: @ = everything
59*6a7405f5SSimon J. Gerratyeverything: @ = everything
60*6a7405f5SSimon J. Gerratyeverything: * = everything
61*6a7405f5SSimon J. GerratySuffFindDeps "everything"
62*6a7405f5SSimon J. Gerratyeverything: @ = everything
63*6a7405f5SSimon J. Gerratyeverything: * = everything
64*6a7405f5SSimon J. GerratyWildcard expanding "a*.mk"...
65*6a7405f5SSimon J. Gerratyarchive-suffix.mk...Global: .ALLTARGETS =  step1 edge-case.to everything ${.PREFIX}${.ARCHIVE}.additional edge-case.from edge-case.additional a*.mk .END archive-suffix.mk
66*6a7405f5SSimon J. Gerratyarchive.mk...Global: .ALLTARGETS =  step1 edge-case.to everything ${.PREFIX}${.ARCHIVE}.additional edge-case.from edge-case.additional a*.mk .END archive-suffix.mk archive.mk
67*6a7405f5SSimon J. Gerraty
68*6a7405f5SSimon J. Gerraty	No valid suffix on everything
69*6a7405f5SSimon J. GerratyWildcard expanding "edge-case.additional"...
70*6a7405f5SSimon J. Gerratyedge-case.additional: @ = edge-case.additional
71*6a7405f5SSimon J. Gerratyedge-case.additional: @ = edge-case.additional
72*6a7405f5SSimon J. Gerratyedge-case.additional: * = edge-case.additional
73*6a7405f5SSimon J. GerratySuffFindDeps "edge-case.additional"
74*6a7405f5SSimon J. Gerraty	No known suffix on edge-case.additional. Using .NULL suffix
75*6a7405f5SSimon J. Gerratynot adding suffix rules
76*6a7405f5SSimon J. Gerratyedge-case.additional: @ = edge-case.additional
77*6a7405f5SSimon J. Gerratyedge-case.additional: * = edge-case.additional
78*6a7405f5SSimon J. Gerratysuffix is ".from"...
79*6a7405f5SSimon J. Gerratyedge-case.from: @ = edge-case.from
80*6a7405f5SSimon J. Gerratyedge-case.from: @ = edge-case.from
81*6a7405f5SSimon J. Gerratyedge-case.from: * = edge-case.from
82*6a7405f5SSimon J. GerratySuffFindDeps "edge-case.from"
83*6a7405f5SSimon J. Gerratyedge-case.from: @ = edge-case.from
84*6a7405f5SSimon J. Gerratyedge-case.from: * = edge-case
85*6a7405f5SSimon J. GerratyWildcard expanding "archive-suffix.mk"...
86*6a7405f5SSimon J. Gerratyarchive-suffix.mk: @ = archive-suffix.mk
87*6a7405f5SSimon J. Gerratyarchive-suffix.mk: @ = archive-suffix.mk
88*6a7405f5SSimon J. Gerratyarchive-suffix.mk: * = archive-suffix.mk
89*6a7405f5SSimon J. GerratySuffFindDeps "archive-suffix.mk"
90*6a7405f5SSimon J. Gerraty	No known suffix on archive-suffix.mk. Using .NULL suffix
91*6a7405f5SSimon J. Gerratyadding suffix rules
92*6a7405f5SSimon J. Gerratyarchive-suffix.mk: @ = archive-suffix.mk
93*6a7405f5SSimon J. Gerratyarchive-suffix.mk: * = archive-suffix.mk
94*6a7405f5SSimon J. Gerratyarchive-suffix.mk: @ = archive-suffix.mk
95*6a7405f5SSimon J. Gerratyarchive-suffix.mk: * = archive-suffix.mk
96*6a7405f5SSimon J. GerratyWildcard expanding "archive.mk"...
97*6a7405f5SSimon J. Gerratyarchive.mk: @ = archive.mk
98*6a7405f5SSimon J. Gerratyarchive.mk: @ = archive.mk
99*6a7405f5SSimon J. Gerratyarchive.mk: * = archive.mk
100*6a7405f5SSimon J. GerratySuffFindDeps "archive.mk"
101*6a7405f5SSimon J. Gerraty	No known suffix on archive.mk. Using .NULL suffix
102*6a7405f5SSimon J. Gerratyadding suffix rules
103*6a7405f5SSimon J. Gerratyarchive.mk: @ = archive.mk
104*6a7405f5SSimon J. Gerratyarchive.mk: * = archive.mk
105*6a7405f5SSimon J. Gerratyarchive.mk: @ = archive.mk
106*6a7405f5SSimon J. Gerratyarchive.mk: * = archive.mk
107*6a7405f5SSimon J. GerratyWildcard expanding "edge-case.additional"...
108*6a7405f5SSimon J. Gerratyedge-case.additional: ? = # (empty)
109*6a7405f5SSimon J. Gerratyedge-case.additional: > = # (empty)
110*6a7405f5SSimon J. GerratyVar_Parse: ${.TARGET} out of nothing. (eval)
111*6a7405f5SSimon J. Gerraty: Making edge-case.additional out of nothing.
112*6a7405f5SSimon J. Gerratyedge-case.to: < = edge-case.from
113*6a7405f5SSimon J. Gerratysuffix is ".from"...
114*6a7405f5SSimon J. Gerratyedge-case.from: ? = # (empty)
115*6a7405f5SSimon J. Gerratyedge-case.from: > = # (empty)
116*6a7405f5SSimon J. GerratyVar_Parse: ${.TARGET} out of nothing. (eval)
117*6a7405f5SSimon J. Gerraty: Making edge-case.from out of nothing.
118*6a7405f5SSimon J. Gerratyedge-case.to: > = edge-case.additional
119*6a7405f5SSimon J. Gerratyedge-case.to: ? = edge-case.additional
120*6a7405f5SSimon J. Gerratyedge-case.to: > = edge-case.additional edge-case.from
121*6a7405f5SSimon J. Gerratyedge-case.to: ? = edge-case.additional edge-case.from
122*6a7405f5SSimon J. GerratyVar_Parse: ${.TARGET} from ${.ALLSRC}. (eval)
123*6a7405f5SSimon J. GerratyVar_Parse: ${.ALLSRC}. (eval)
124*6a7405f5SSimon J. Gerraty: Making edge-case.to from edge-case.additional edge-case.from.
125*6a7405f5SSimon J. Gerratyeverything: > = archive-suffix.mk
126*6a7405f5SSimon J. Gerratyeverything: ? = archive-suffix.mk
127*6a7405f5SSimon J. Gerratyeverything: > = archive-suffix.mk archive.mk
128*6a7405f5SSimon J. Gerratyeverything: ? = archive-suffix.mk archive.mk
129*6a7405f5SSimon J. GerratyVar_Parse: ${.TARGET} from ${.ALLSRC}. (eval)
130*6a7405f5SSimon J. GerratyVar_Parse: ${.ALLSRC}. (eval)
131*6a7405f5SSimon J. Gerraty: Making everything from archive-suffix.mk archive.mk.
132*6a7405f5SSimon J. Gerratystep1: > = edge-case.to
133*6a7405f5SSimon J. Gerratystep1: ? = edge-case.to
134*6a7405f5SSimon J. Gerratystep1: > = edge-case.to everything
135*6a7405f5SSimon J. Gerratystep1: ? = edge-case.to everything
136*6a7405f5SSimon J. Gerraty.END: @ = .END
137*6a7405f5SSimon J. Gerraty.END: * = .END
138*6a7405f5SSimon J. GerratySuffFindDeps ".END"
139*6a7405f5SSimon J. Gerraty	No known suffix on .END. Using .NULL suffix
140*6a7405f5SSimon J. Gerratyadding suffix rules
141*6a7405f5SSimon J. Gerraty.END: @ = .END
142*6a7405f5SSimon J. Gerraty.END: * = .END
143*6a7405f5SSimon J. GerratyWildcard expanding ".END"...
144*6a7405f5SSimon J. Gerraty.END: ? = # (empty)
145*6a7405f5SSimon J. Gerraty.END: > = # (empty)
146*6a7405f5SSimon J. Gerratyexit status 0
147