]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: fix spurious failures w.r.t. parallel make and colorization
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 8 Nov 2011 17:41:30 +0000 (18:41 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 8 Nov 2011 18:01:59 +0000 (19:01 +0100)
commitd9ea65c09108dc08c5d4526fc8b60e1df84bf00a
tree2f0769b868e7d51626e3ab59a35e448e8bcb0a81
parent549f3844cc9bca0dfd28d5631e0229922c7e709f
tests: fix spurious failures w.r.t. parallel make and colorization

* tests/color2.test: Skip the test if the $MAKE program fails to
consider the standard output as a tty when spawned by `expect'.
This is required for make implementations, like FreeBSD make and
Solaris dmake, that redirect the output of recipes to temporary
files or pipes when run in parallel mode.  Since we are at it,
simplify the detection of a working `expect' program, and throw
in other minor simplifications.
ChangeLog
tests/color2.test