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