xref: /freebsd/contrib/bmake/unit-tests/varmod-ifelse.exp (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1make: Bad conditional expression 'bare words == "literal"' before '?bad:bad'
2make: "varmod-ifelse.mk" line 28: Malformed conditional (${${:Ubare words} == "literal":?bad:bad})
3make: Bad conditional expression ' == ""' before '?bad-assign:bad-assign'
4make: Bad conditional expression ' == ""' before '?bad-cond:bad-cond'
5make: "varmod-ifelse.mk" line 46: Malformed conditional (${${UNDEF} == "":?bad-cond:bad-cond})
6make: Bad conditional expression '1 == == 2' before '?yes:no'
7make: "varmod-ifelse.mk" line 69: 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' before '?yes:no'
12Comparing "" != ""
13make: "varmod-ifelse.mk" line 96: 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 158: no.
19make: "varmod-ifelse.mk" line 162: Comparison with '>=' requires both operands 'no' and '10' to be numeric
20make: Bad conditional expression 'string == "literal" || no >= 10' before '?yes:no'
21make: "varmod-ifelse.mk" line 162: .
22make: Bad conditional expression 'string == "literal" &&  >= 10' before '?yes:no'
23make: "varmod-ifelse.mk" line 169: .
24make: Bad conditional expression 'string == "literal" ||  >= 10' before '?yes:no'
25make: "varmod-ifelse.mk" line 172: .
26make: "varmod-ifelse.mk" line 180: <true>
27make: "varmod-ifelse.mk" line 183: <false>
28make: Bad conditional expression '	' before '?true:false'
29make: "varmod-ifelse.mk" line 186: <>
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"
37CondParser_Eval: ${DELAYED} == "one"
38Comparing "two" == "one"
39make: "varmod-ifelse.mk" line 282: no
40CondParser_Eval: ${DELAYED} == "two"
41Comparing "two" == "two"
42make: "varmod-ifelse.mk" line 284: yes
43CondParser_Eval: ${DELAYED} == "one"
44Comparing "two" == "one"
45make: "varmod-ifelse.mk" line 287: no
46CondParser_Eval: ${DELAYED} == "two"
47Comparing "two" == "two"
48make: "varmod-ifelse.mk" line 290: yes
49make: Fatal errors encountered -- cannot continue
50make: stopped in unit-tests
51exit status 1
52