Home | History | Annotate | Line # | Download | only in unit-tests
varmisc.exp revision 1.23
      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:begin
     47 make: in target "varerror-unclosed": Unclosed variable ""
     48 
     49 make: in target "varerror-unclosed": Unclosed variable "UNCLOSED"
     50 
     51 make: in target "varerror-unclosed": Unclosed variable "UNCLOSED"
     52 
     53 make: in target "varerror-unclosed": while evaluating variable "UNCLOSED" with value "": Unclosed variable "PATTERN"
     54 make: in target "varerror-unclosed": while evaluating variable "UNCLOSED" with value "": Unclosed expression, expecting '}' for modifier "M${PATTERN"
     55 
     56 make: in target "varerror-unclosed": Unclosed variable "param"
     57 make: in target "varerror-unclosed": Unclosed variable "UNCLOSED."
     58 
     59 
     60 make: in target "varerror-unclosed": Unclosed variable "UNCLOSED.1"
     61 
     62 make: in target "varerror-unclosed": Unclosed variable "UNCLOSED.2"
     63 
     64 make: in target "varerror-unclosed": Unclosed variable "UNCLOSED.3"
     65 
     66 make: in target "varerror-unclosed": while evaluating variable "UNCLOSED_INDIR_2" with value "${UNCLOSED_INDIR_1}": while evaluating variable "UNCLOSED_INDIR_1" with value "${UNCLOSED_ORIG": Unclosed variable "UNCLOSED_ORIG"
     67 
     68 varerror-unclosed:end
     69 target1-flags: we have: one two
     70 target2-flags: we have: one two three four
     71 exit status 2
     72