cond-token-plain.exp revision 1.8 1 CondParser_Eval: ${:Uvalue} != value
2 lhs = "value", rhs = "value", op = !=
3 CondParser_Eval: ${:U} != "
4 lhs = "", rhs = "", op = !=
5 CondParser_Eval: ${:U#hash} != "#hash"
6 lhs = "#hash", rhs = "#hash", op = !=
7 CondParser_Eval: ${:U\\} != "\\
8 lhs = "\", rhs = "\", op = !=
9 CondParser_Eval: ${:U#hash} != #hash
10 lhs = "#hash", rhs = "#hash", op = !=
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 lhs = "no", rhs = "no", op = !=
15 CondParser_Eval: ${1 # comment :?yes:no} != yes
16 CondParser_Eval: 1 # comment
17 lhs = "yes", rhs = "yes", op = !=
18 CondParser_Eval: ${UNDEF:Uundefined}!=undefined
19 lhs = "undefined", rhs = "undefined", op = !=
20 CondParser_Eval: ${UNDEF:U12345}>12345
21 lhs = 12345.000000, rhs = 12345.000000, op = >
22 CondParser_Eval: ${UNDEF:U12345}<12345
23 lhs = 12345.000000, rhs = 12345.000000, op = <
24 CondParser_Eval: (${UNDEF:U0})||0
25 CondParser_Eval: ${:Uvar}&&name != "var&&name"
26 lhs = "var&&name", rhs = "var&&name", op = !=
27 CondParser_Eval: ${:Uvar}||name != "var||name"
28 lhs = "var||name", rhs = "var||name", op = !=
29 CondParser_Eval: bare
30 make: "cond-token-plain.mk" line 102: A bare word is treated like defined(...), and the variable 'bare' is not defined.
31 CondParser_Eval: VAR
32 make: "cond-token-plain.mk" line 107: A bare word is treated like defined(...).
33 CondParser_Eval: V${:UA}R
34 make: "cond-token-plain.mk" line 114: ok
35 CondParser_Eval: V${UNDEF}AR
36 make: "cond-token-plain.mk" line 122: Undefined variables in bare words expand to an empty string.
37 CondParser_Eval: 0${:Ux00}
38 make: "cond-token-plain.mk" line 130: Numbers can be composed from literals and variable expressions.
39 CondParser_Eval: 0${:Ux01}
40 make: "cond-token-plain.mk" line 134: Numbers can be composed from literals and variable expressions.
41 CondParser_Eval: "" ==
42 make: "cond-token-plain.mk" line 140: warning: Missing right-hand-side of operator
43 make: "cond-token-plain.mk" line 140: Malformed conditional ("" ==)
44 CondParser_Eval: == ""
45 make: "cond-token-plain.mk" line 148: Malformed conditional (== "")
46 CondParser_Eval: \\
47 make: "cond-token-plain.mk" line 163: The variable '\\' is not defined.
48 CondParser_Eval: \\
49 make: "cond-token-plain.mk" line 168: Now the variable '\\' is defined.
50 CondParser_Eval: "unquoted\"quoted" != unquoted"quoted
51 lhs = "unquoted"quoted", rhs = "unquoted"quoted", op = !=
52 CondParser_Eval: $$$$$$$$ != ""
53 make: Fatal errors encountered -- cannot continue
54 make: stopped in unit-tests
55 exit status 1
56