Home | History | Annotate | Line # | Download | only in unit-tests
      1 
      2 :D expanded when var set
      3 true
      4 TRUE
      5 :U expanded when var undef
      6 true
      7 TRUE
      8 :D skipped if var undef
      9 
     10 :U skipped when var set
     11 is set
     12 :? only lhs when value true
     13 true
     14 TRUE
     15 :? only rhs when value false
     16 false
     17 FALSE
     18 do not evaluate or expand :? if discarding
     19 is set
     20 Version=123.456.789 == 123456789
     21 Literal=3.4.5 == 3004005
     22 We have target specific vars
     23 save-dollars: 0        = $
     24 save-dollars: 1        = $$
     25 save-dollars: 2        = $$
     26 save-dollars: False    = $
     27 save-dollars: True     = $$
     28 save-dollars: false    = $
     29 save-dollars: true     = $$
     30 save-dollars: Yes      = $$
     31 save-dollars: No       = $
     32 save-dollars: yes      = $$
     33 save-dollars: no       = $
     34 save-dollars: On       = $$
     35 save-dollars: Off      = $
     36 save-dollars: ON       = $$
     37 save-dollars: OFF      = $
     38 save-dollars: on       = $$
     39 save-dollars: off      = $
     40 export-appended: env
     41 export-appended: env
     42 export-appended: env mk
     43 parse-dynamic: parse-dynamic parse-dynamic before
     44 parse-dynamic: parse-dynamic parse-dynamic after
     45 parse-dynamic: parse-dynamic parse-dynamic after
     46 varerror-unclosed-1:begin
     47 make: Unclosed variable ""
     48 	in command "@echo $("
     49 	in target "varerror-unclosed-2"
     50 make: Unclosed variable "UNCLOSED"
     51 	in command "@echo $(UNCLOSED"
     52 	in target "varerror-unclosed-3"
     53 make: Unclosed variable "UNCLOSED"
     54 	in command "@echo ${UNCLOSED"
     55 	in target "varerror-unclosed-4"
     56 make: Unclosed variable "PATTERN"
     57 	while evaluating variable "UNCLOSED" with value ""
     58 	in command "@echo ${UNCLOSED:M${PATTERN"
     59 	in target "varerror-unclosed-5"
     60 make: Unclosed expression, expecting "}" for modifier "M${PATTERN"
     61 	while evaluating variable "UNCLOSED" with value ""
     62 	in command "@echo ${UNCLOSED:M${PATTERN"
     63 	in target "varerror-unclosed-5"
     64 make: Unclosed variable "param"
     65 	in command "@echo ${UNCLOSED.${param"
     66 	in target "varerror-unclosed-6"
     67 make: Unclosed variable "UNCLOSED."
     68 	in command "@echo ${UNCLOSED.${param"
     69 	in target "varerror-unclosed-6"
     70 
     71 make: Unclosed variable "UNCLOSED.1"
     72 	in command "@echo ${UNCLOSED.${:U1}"
     73 	in target "varerror-unclosed-7"
     74 make: Unclosed variable "UNCLOSED_ORIG"
     75 	while evaluating variable "UNCLOSED_INDIR_1" with value "${UNCLOSED_ORIG"
     76 	while evaluating variable "UNCLOSED_INDIR_2" with value "${UNCLOSED_INDIR_1}"
     77 	in command "@echo ${UNCLOSED_INDIR_2}"
     78 	in target "varerror-unclosed-8"
     79 target1-flags: we have: one two
     80 target2-flags: we have: one two three four
     81 exit status 2
     82