]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/forloop.exp
Merge bmake-20201117
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / forloop.exp
1 make: "forloop.mk" line 14: x=one
2 make: "forloop.mk" line 14: x="two and three"
3 make: "forloop.mk" line 14: x=four
4 make: "forloop.mk" line 14: x="five"
5 make: "forloop.mk" line 20: x=-I/this
6 make: "forloop.mk" line 20: x=-I"This or that"
7 make: "forloop.mk" line 20: x=-Ithat
8 make: "forloop.mk" line 20: x="-DTHIS=\"this and that\""
9 make: "forloop.mk" line 27: cfl=-I/this -I"This or that" -Ithat "-DTHIS=\"this and that\""
10 make: "forloop.mk" line 41: newline-item=(a)
11 make: "forloop.mk" line 47: a=one b="two and three"
12 make: "forloop.mk" line 47: a=four b="five"
13 make: "forloop.mk" line 47: a=ONE b="TWO AND THREE"
14 make: "forloop.mk" line 47: 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