]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/forloop.exp
Update to bmake-20201101
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / forloop.exp
1 x=one
2 x="two and three"
3 x=four
4 x="five"
5 x=-I/this
6 x=-I"This or that"
7 x=-Ithat
8 x="-DTHIS=\"this and that\""
9 cfl=-I/this -I"This or that" -Ithat "-DTHIS=\"this and that\""
10 newline-item=(a)
11 a=one b="two and three"
12 a=four b="five"
13 a=ONE b="TWO AND THREE"
14 a=FOUR b="FIVE"
15 We expect an error next:
16 make: "forloop.mk" line 46: Wrong number of words (9) in .for substitution list with 2 variables
17 make: Fatal errors encountered -- cannot continue
18 make: stopped in unit-tests
19 OK
20 exit status 0