xref: /freebsd/contrib/bmake/unit-tests/varmod-ifelse.exp (revision 32a95656b51ebefcdf3e0b02c110825f59abd26f)
1make: Bad conditional expression 'variable expression == "literal"' in 'variable expression == "literal"?bad:bad'
2make: "varmod-ifelse.mk" line 27: Malformed conditional (${${:Uvariable expression} == "literal":?bad:bad})
3make: Bad conditional expression ' == ""' in ' == ""?bad-assign:bad-assign'
4make: Bad conditional expression ' == ""' in ' == ""?bad-cond:bad-cond'
5make: "varmod-ifelse.mk" line 44: Malformed conditional (${${UNDEF} == "":?bad-cond:bad-cond})
6make: Bad conditional expression '1 == == 2' in '1 == == 2?yes:no'
7make: "varmod-ifelse.mk" line 66: Malformed conditional (${1 == == 2:?yes:no} != "")
8CondParser_Eval: "${1 == == 2:?yes:no}" != ""
9CondParser_Eval: 1 == == 2
10lhs = 1.000000, rhs = 0.000000, op = ==
11make: Bad conditional expression '1 == == 2' in '1 == == 2?yes:no'
12lhs = "", rhs = "", op = !=
13make: "varmod-ifelse.mk" line 92: warning: Oops, the parse error should have been propagated.
14CondParser_Eval: ${ ${:U\$}{VAR} == value :?ok:bad} != "ok"
15CondParser_Eval: ${VAR} == value
16lhs = "value", rhs = "value", op = ==
17lhs = "ok", rhs = "ok", op = !=
18make: "varmod-ifelse.mk" line 153: no.
19make: "varmod-ifelse.mk" line 154: String comparison operator must be either == or !=
20make: Bad conditional expression 'string == "literal" || no >= 10' in 'string == "literal" || no >= 10?yes:no'
21make: "varmod-ifelse.mk" line 154: .
22make: Bad conditional expression 'string == "literal" &&  >= 10' in 'string == "literal" &&  >= 10?yes:no'
23make: "varmod-ifelse.mk" line 159: .
24make: Bad conditional expression 'string == "literal" ||  >= 10' in 'string == "literal" ||  >= 10?yes:no'
25make: "varmod-ifelse.mk" line 160: .
26make: "varmod-ifelse.mk" line 167: true
27make: "varmod-ifelse.mk" line 169: false
28make: Bad conditional expression '	' in '	?true:false'
29make: "varmod-ifelse.mk" line 171:
30make: Fatal errors encountered -- cannot continue
31make: stopped in unit-tests
32exit status 1
33