]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: fix spurious failures with Solaris dmake
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 17 Jan 2012 09:33:46 +0000 (10:33 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 17 Jan 2012 09:33:54 +0000 (10:33 +0100)
commit30f40f634fd5bc80a9cccbacc383ef1e2b9c153a
tree3b91180038557828efae2db515b7b06dd836f763
parent9928ea5c84889026f5800fe4270013791d47f16a
tests: fix spurious failures with Solaris dmake

Solaris Distributed Make, when run in parallel mode, can sprinkle
its standard output with lines like:

  hostname --> 2 jobs
  ...
  hostname --> Job output
  ...

This behaviour was causing spurious errors in some tests where we
compare the output of make with a known, expected value.  Fix that.

* tests/tap-doc.test: Before comparing the output from make with its
expected value, remove extra lines that could have been printed by
Solaris dmake.
* tests/tap-doc2.test: Likewise.
tests/tap-doc.test
tests/tap-doc2.test