xref: /freebsd/contrib/bmake/unit-tests/varname-dot-suffixes.exp (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1Global: ignoring delete '.SUFFIXES' as it is not found
2Global: .MAKEFLAGS =  -r -k -d v -d
3Global: .MAKEFLAGS =  -r -k -d v -d 0
4Global: ignoring '.SUFFIXES = set' as it is read-only
5Global: ignoring '.SUFFIXES = append' as it is read-only
6Global: _ = # (empty)
7Var_Parse: ${.SUFFIXES::=assign} (eval-keep-dollar-and-undefined)
8Evaluating modifier ${.SUFFIXES::...} on value ".c .o .1 .err .tar.gz" (eval-keep-dollar-and-undefined, regular)
9Modifier part: "assign"
10Global: ignoring '.SUFFIXES = assign' as it is read-only
11Result of ${.SUFFIXES::=assign} is "" (eval-keep-dollar-and-undefined, regular)
12Global: _ = # (empty)
13Var_Parse: ${preserve:L:_=.SUFFIXES} (eval-keep-dollar-and-undefined)
14Evaluating modifier ${preserve:L} on value "" (eval-keep-dollar-and-undefined, undefined)
15Result of ${preserve:L} is "preserve" (eval-keep-dollar-and-undefined, defined)
16Evaluating modifier ${preserve:_...} on value "preserve" (eval-keep-dollar-and-undefined, defined)
17Global: ignoring '.SUFFIXES = preserve' as it is read-only
18Result of ${preserve:_=.SUFFIXES} is "preserve" (eval-keep-dollar-and-undefined, defined)
19Global: _ = preserve
20Global: .MAKEFLAGS =  -r -k -d v -d 0 -d v -d
21Global: .MAKEFLAGS =  -r -k -d v -d 0 -d v -d 0
22Var_Parse: ${1 2:L:@.SUFFIXES@${.SUFFIXES}@} != ".c .o .1 .err .tar.gz .c .o .1 .err .tar.gz" (eval-defined)
23Evaluating modifier ${1 2:L} on value "" (eval-defined, undefined)
24Result of ${1 2:L} is "1 2" (eval-defined, defined)
25Evaluating modifier ${1 2:@...} on value "1 2" (eval-defined, defined)
26Modifier part: ".SUFFIXES"
27Modifier part: "${.SUFFIXES}"
28ModifyWords: split "1 2" into 2 words
29Command: ignoring '.SUFFIXES = 1' as it is read-only
30Var_Parse: ${.SUFFIXES} (eval-defined)
31ModifyWord_Loop: expand "${.SUFFIXES}" to ".c .o .1 .err .tar.gz"
32Command: ignoring '.SUFFIXES = 2' as it is read-only
33Var_Parse: ${.SUFFIXES} (eval-defined)
34ModifyWord_Loop: expand "${.SUFFIXES}" to ".c .o .1 .err .tar.gz"
35Command: ignoring delete '.SUFFIXES' as it is not found
36Result of ${1 2:@.SUFFIXES@${.SUFFIXES}@} is ".c .o .1 .err .tar.gz .c .o .1 .err .tar.gz" (eval-defined, defined)
37Global: .MAKEFLAGS =  -r -k -d v -d 0 -d v -d 0 -d v -d
38Global: .MAKEFLAGS =  -r -k -d v -d 0 -d v -d 0 -d v -d 0
39exit status 0
40