Home | History | Annotate | Download | only in unit-tests

Lines Matching refs:the

3 # Tests for the first part of the variable modifier ':@var@...@', which
4 # contains the variable name to use during the loop.
6 # Force the test results to be independent of the default value of this
7 # setting, which is 'yes' for NetBSD's usr.bin/make but 'no' for the bmake
12 # Before 2021-04-04, the name of the loop variable could be generated
14 # Since var.c 1.907 from 2021-04-04, a '$' is no longer allowed in the
16 # expect+1: In the :@ modifier, the variable name "${:Ubar:S,b,v,}" must not contain a dollar
25 # The expression ${\:\:\:} would not work since backslashes can only
26 # be escaped in the modifiers, but not in the variable name, therefore
27 # the extra indirection via the modifier ':U'.
39 # In extreme cases, even the backslash can be used as variable name.
46 # The variable name can technically be empty, and in this situation
47 # the variable value cannot be accessed since the empty "variable"
54 # The :@ modifier resolves the variables from the replacement text once more
55 # than expected. In particular, it resolves _all_ variables from the scope,
56 # and not only the loop variable (in this case v).
59 ALL_CFLAGS:= ${SRCS:@src@${CFLAGS.${src}}@} # note the ':='
66 # In the following example, the modifier ':@' expands the '$$' to '$'. This
67 # means that when the resulting expression is evaluated, these resulting '$'
70 # The d means direct reference, the i means indirect reference.
81 # Until 2020-07-20, the variable name of the :@ modifier could end with one
84 # Since var.c 1.907 from 2021-04-04, a '$' is no longer allowed in the
86 # expect+1: In the :@ modifier, the variable name "v$" must not contain a dollar
92 # expect+1: In the :@ modifier, the variable name "v$$" must not contain a dollar
98 # expect+1: In the :@ modifier, the variable name "v$$$" must not contain a dollar
106 # It may happen that there are nested :@ modifiers that use the same name for
107 # for the loop variable. These modifiers influence each other.
109 # As of 2020-10-18, the :@ modifier is implemented by actually setting a
110 # variable in the scope of the expression and deleting it again after the
111 # loop. This is different from the .for loops, which substitute the
114 # To make the behavior more predictable, the :@ modifier should restore the
115 # loop variable to the value it had before the loop. This would result in
116 # the string "1a b c1 2a b c2 3a b c3", making the two loops independent.
121 # During the loop, the variable is actually defined and nonempty.
122 # If the loop were implemented in the same way as the .for loop, the variable
123 # would be neither defined nor nonempty since all expressions of the form