xref: /minix3/usr.bin/make/unit-tests/forloop.exp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambucx=one
2*0a6a1f1dSLionel Sambucx="two and three"
3*0a6a1f1dSLionel Sambucx=four
4*0a6a1f1dSLionel Sambucx="five"
5*0a6a1f1dSLionel Sambucx=-I/this
6*0a6a1f1dSLionel Sambucx=-I"This or that"
7*0a6a1f1dSLionel Sambucx=-Ithat
8*0a6a1f1dSLionel Sambucx="-DTHIS=\"this and that\""
9*0a6a1f1dSLionel Sambuccfl=-I/this -I"This or that" -Ithat "-DTHIS=\"this and that\""
10*0a6a1f1dSLionel Sambuca=one b="two and three"
11*0a6a1f1dSLionel Sambuca=four b="five"
12*0a6a1f1dSLionel Sambuca=ONE b="TWO AND THREE"
13*0a6a1f1dSLionel Sambuca=FOUR b="FIVE"
14*0a6a1f1dSLionel SambucWe expect an error next:
15*0a6a1f1dSLionel Sambucmake: "forloop.mk" line 38: Wrong number of words (9) in .for substitution list with 2 vars
16*0a6a1f1dSLionel Sambucmake: Fatal errors encountered -- cannot continue
17*0a6a1f1dSLionel Sambucmake: stopped in unit-tests
18*0a6a1f1dSLionel SambucOK
19*0a6a1f1dSLionel Sambucexit status 0
20