xref: /freebsd/contrib/bmake/unit-tests/varmod-ifelse.exp (revision a57ca37dd1848cd42844d9082c4a74c2ed57f68a)
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
10Comparing 1.000000 == 0.000000
11make: Bad conditional expression '1 == == 2' in '1 == == 2?yes:no'
12Comparing "" != ""
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
16Comparing "value" == "value"
17Comparing "ok" != "ok"
18make: "varmod-ifelse.mk" line 153: no.
19make: "varmod-ifelse.mk" line 154: Comparison with '>=' requires both operands 'no' and '10' to be numeric
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:
30CondParser_Eval: 0 && ${1:?${:Uthen0:S,}},,}:${:Uelse0:S,}},,}} != "not evaluated"
31CondParser_Eval: 1 && ${0:?${:Uthen1:S,}},,}:${:Uelse1:S,}},,}} != "else1"
32CondParser_Eval: 0
33Comparing "else1" != "else1"
34CondParser_Eval: 2 && ${1:?${:Uthen2:S,}},,}:${:Uelse2:S,}},,}} != "then2"
35CondParser_Eval: 1
36Comparing "then2" != "then2"
37make: Fatal errors encountered -- cannot continue
38make: stopped in unit-tests
39exit status 1
40