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

Lines Matching defs:varname

1 # $NetBSD: varname-makeflags.mk,v 1.8 2023/06/01 07:27:30 rillig Exp $
22 # See varname-dot-makeflags.mk for more details.
53 @${MAKE} -f ${MAKEFILE} spaces_stage_1 -d00000 -D"VARNAME WITH SPACES"
55 # At this point, the 'VARNAME WITH SPACES' is no longer recognizable as a
69 # command line, making the actual argument 'DOLLARS=$${varname}'.
71 @${MAKE} -f ${MAKEFILE} dollars_stage_1 DOLLARS='$$$${varname}'
74 # At this point, the variable 'DOLLARS' contains '$${varname}', which
75 # evaluates to a literal '$' followed by '{varname}'.
76 . if ${DOLLARS} != "\${varname}"
85 # expect: dollars_stage_1: env MAKEFLAGS=< -r -k DOLLARS=\$\{varname\}>
87 # The 'DOLLARS=\$\{varname\}' assignment is escaped so that the stage
92 # to strange side effects as the string '\$\{varname\}' is interpreted
97 # {varname\} a literal string
100 # '\{varname\}'. Make doesn't handle isolated '$' characters in
115 # At this point, the variable 'DOLLARS' contains '${varname}', and since
116 # 'varname' is undefined, that expression evaluates to an empty string.
120 varname= varvalue
124 . undef varname