freebsd-dev/contrib/bmake/unit-tests/forloop.exp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
876 B
Plaintext
Raw Normal View History

make: "forloop.mk" line 14: x=one
make: "forloop.mk" line 14: x="two and three"
make: "forloop.mk" line 14: x=four
make: "forloop.mk" line 14: x="five"
make: "forloop.mk" line 20: x=-I/this
make: "forloop.mk" line 20: x=-I"This or that"
make: "forloop.mk" line 20: x=-Ithat
make: "forloop.mk" line 20: x="-DTHIS=\"this and that\""
make: "forloop.mk" line 27: cfl=-I/this -I"This or that" -Ithat "-DTHIS=\"this and that\""
make: "forloop.mk" line 41: newline-item=(a)
make: "forloop.mk" line 47: a=one b="two and three"
make: "forloop.mk" line 47: a=four b="five"
make: "forloop.mk" line 47: a=ONE b="TWO AND THREE"
make: "forloop.mk" line 47: a=FOUR b="FIVE"
2015-04-20 03:45:54 +00:00
We expect an error next:
make: "forloop.mk" line 46: Wrong number of words (9) in .for substitution list with 2 variables
2015-04-20 03:45:54 +00:00
make: Fatal errors encountered -- cannot continue
make: stopped in unit-tests
OK
exit status 0