xref: /freebsd/contrib/bmake/unit-tests/directive-export-impl.exp (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1ParseReadLine (21): 'UT_VAR=		<${REF}>'
2Global:UT_VAR = <${REF}>
3ParseReadLine (28): '.export UT_VAR'
4Global:.MAKE.EXPORTED = UT_VAR
5ParseReadLine (32): ': ${UT_VAR:N*}'
6Var_Parse: ${UT_VAR:N*} with VARE_UNDEFERR|VARE_WANTRES
7Var_Parse: ${REF}> with VARE_UNDEFERR|VARE_WANTRES
8Applying ${UT_VAR:N...} to "<>" (VARE_UNDEFERR|VARE_WANTRES, VAR_EXPORTED|VAR_REEXPORT, none)
9Pattern[UT_VAR] for [<>] is [*]
10ModifyWords: split "<>" into 1 words
11Result of ${UT_VAR:N*} is "" (VARE_UNDEFERR|VARE_WANTRES, VAR_EXPORTED|VAR_REEXPORT, none)
12ParseDoDependency(: )
13CondParser_Eval: ${:!echo "\$UT_VAR"!} != "<>"
14Var_Parse: ${:!echo "\$UT_VAR"!} != "<>" with VARE_UNDEFERR|VARE_WANTRES
15Applying ${:!...} to "" (VARE_UNDEFERR|VARE_WANTRES, none, VES_UNDEF)
16Modifier part: "echo "$UT_VAR""
17Var_Parse: ${.MAKE.EXPORTED:O:u} with VARE_WANTRES
18Applying ${.MAKE.EXPORTED:O} to "UT_VAR" (VARE_WANTRES, none, none)
19Result of ${.MAKE.EXPORTED:O} is "UT_VAR" (VARE_WANTRES, none, none)
20Applying ${.MAKE.EXPORTED:u} to "UT_VAR" (VARE_WANTRES, none, none)
21Result of ${.MAKE.EXPORTED:u} is "UT_VAR" (VARE_WANTRES, none, none)
22Var_Parse: ${UT_VAR} with VARE_WANTRES
23Var_Parse: ${REF}> with VARE_WANTRES
24Result of ${:!echo "\$UT_VAR"!} is "<>" (VARE_UNDEFERR|VARE_WANTRES, none, VES_DEF)
25lhs = "<>", rhs = "<>", op = !=
26ParseReadLine (49): ': ${UT_VAR:N*}'
27Var_Parse: ${UT_VAR:N*} with VARE_UNDEFERR|VARE_WANTRES
28Var_Parse: ${REF}> with VARE_UNDEFERR|VARE_WANTRES
29Applying ${UT_VAR:N...} to "<>" (VARE_UNDEFERR|VARE_WANTRES, VAR_EXPORTED|VAR_REEXPORT, none)
30Pattern[UT_VAR] for [<>] is [*]
31ModifyWords: split "<>" into 1 words
32Result of ${UT_VAR:N*} is "" (VARE_UNDEFERR|VARE_WANTRES, VAR_EXPORTED|VAR_REEXPORT, none)
33ParseDoDependency(: )
34ParseReadLine (53): 'REF=		defined'
35Global:REF = defined
36CondParser_Eval: ${:!echo "\$UT_VAR"!} != "<defined>"
37Var_Parse: ${:!echo "\$UT_VAR"!} != "<defined>" with VARE_UNDEFERR|VARE_WANTRES
38Applying ${:!...} to "" (VARE_UNDEFERR|VARE_WANTRES, none, VES_UNDEF)
39Modifier part: "echo "$UT_VAR""
40Var_Parse: ${.MAKE.EXPORTED:O:u} with VARE_WANTRES
41Applying ${.MAKE.EXPORTED:O} to "UT_VAR" (VARE_WANTRES, none, none)
42Result of ${.MAKE.EXPORTED:O} is "UT_VAR" (VARE_WANTRES, none, none)
43Applying ${.MAKE.EXPORTED:u} to "UT_VAR" (VARE_WANTRES, none, none)
44Result of ${.MAKE.EXPORTED:u} is "UT_VAR" (VARE_WANTRES, none, none)
45Var_Parse: ${UT_VAR} with VARE_WANTRES
46Var_Parse: ${REF}> with VARE_WANTRES
47Result of ${:!echo "\$UT_VAR"!} is "<defined>" (VARE_UNDEFERR|VARE_WANTRES, none, VES_DEF)
48lhs = "<defined>", rhs = "<defined>", op = !=
49ParseReadLine (61): 'all:'
50ParseDoDependency(all:)
51Global:.ALLTARGETS =  all
52ParseReadLine (62): '.MAKEFLAGS: -d0'
53ParseDoDependency(.MAKEFLAGS: -d0)
54Global:.MAKEFLAGS =  -r -k -d cpv -d
55Global:.MAKEFLAGS =  -r -k -d cpv -d 0
56exit status 0
57