Home | History | Annotate | Line # | Download | only in unit-tests
cond-token-plain.exp revision 1.23
      1 CondParser_Eval: ${:Uvalue} != value
      2 Comparing "value" != "value"
      3 CondParser_Eval: ${:U} != "
      4 Comparing "" != ""
      5 CondParser_Eval: ${:U#hash} != "#hash"
      6 Comparing "#hash" != "#hash"
      7 CondParser_Eval: ${:U\\} != "\\
      8 Comparing "\" != "\"
      9 CondParser_Eval: ${:U#hash} != #hash
     10 Comparing "#hash" != "#hash"
     11 CondParser_Eval: 0 # This is treated as a comment, but why?
     12 CondParser_Eval: ${0 # comment:?yes:no} != no
     13 CondParser_Eval: 0 # comment
     14 Comparing "no" != "no"
     15 CondParser_Eval: ${1 # comment:?yes:no} != yes
     16 CondParser_Eval: 1 # comment
     17 Comparing "yes" != "yes"
     18 CondParser_Eval: ${UNDEF:Uundefined}!=undefined
     19 Comparing "undefined" != "undefined"
     20 CondParser_Eval: ${UNDEF:U12345}>12345
     21 Comparing 12345.000000 > 12345.000000
     22 CondParser_Eval: ${UNDEF:U12345}<12345
     23 Comparing 12345.000000 < 12345.000000
     24 CondParser_Eval: (${UNDEF:U0})||0
     25 CondParser_Eval: ${:Uvar}&&name != "var&&name"
     26 Comparing "var&&name" != "var&&name"
     27 CondParser_Eval: ${:Uvar}||name != "var||name"
     28 Comparing "var||name" != "var||name"
     29 CondParser_Eval: bare
     30 make: cond-token-plain.mk:106: A bare word is treated like defined(...), and the variable 'bare' is not defined.
     31 CondParser_Eval: VAR
     32 make: cond-token-plain.mk:113: A bare word is treated like defined(...).
     33 CondParser_Eval: V${:UA}R
     34 make: cond-token-plain.mk:121: ok
     35 CondParser_Eval: V${UNDEF}AR
     36 make: cond-token-plain.mk:130: Undefined variables in bare words expand to an empty string.
     37 CondParser_Eval: 0${:Ux00}
     38 make: cond-token-plain.mk:139: Numbers can be composed from literals and expressions.
     39 CondParser_Eval: 0${:Ux01}
     40 make: cond-token-plain.mk:144: Numbers can be composed from literals and expressions.
     41 CondParser_Eval: "" ==
     42 make: cond-token-plain.mk:151: Missing right-hand side of operator "=="
     43 CondParser_Eval: == ""
     44 make: cond-token-plain.mk:160: Malformed conditional "== """
     45 CondParser_Eval: \\
     46 make: cond-token-plain.mk:176: The variable '\\' is not defined.
     47 CondParser_Eval: \\
     48 make: cond-token-plain.mk:182: Now the variable '\\' is defined.
     49 CondParser_Eval: "unquoted\"quoted" != unquoted"quoted
     50 Comparing "unquoted"quoted" != "unquoted"quoted"
     51 CondParser_Eval: $$$$$$$$ != ""
     52 make: cond-token-plain.mk:197: Malformed conditional "$$$$$$$$ != """
     53 CondParser_Eval: left == right
     54 make: cond-token-plain.mk:206: Malformed conditional "left == right"
     55 CondParser_Eval: ${0:?:} || left == right
     56 CondParser_Eval: 0
     57 make: cond-token-plain.mk:212: Malformed conditional "${0:?:} || left == right"
     58 CondParser_Eval: left == right || ${0:?:}
     59 make: cond-token-plain.mk:217: Malformed conditional "left == right || ${0:?:}"
     60 make: cond-token-plain.mk:236: Malformed conditional "VAR.${IF_COUNT::+=1} != """
     61 make: Fatal errors encountered -- cannot continue
     62 make: stopped in unit-tests
     63 exit status 1
     64