]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: avoid spurious failures with parallel make
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 17 Jan 2012 10:07:01 +0000 (11:07 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 17 Jan 2012 10:07:01 +0000 (11:07 +0100)
commitd376fb6033bddabf86b91bd5ce58627a91f59fc8
tree82b019156a8a2a99d2adbcc20ccb3fc4cda54dc0
parent30f40f634fd5bc80a9cccbacc383ef1e2b9c153a
tests: avoid spurious failures with parallel make

Some tests are unprepared to be run with a make command that runs
in parallel mode by default.  This can happen e.g., if the user
explicitly run the tests with something like:

  AM_TESTSUITE_MAKE="gmake -j3" in the

in the environment, but also if the make used in the testsuite is
Sun Distributed Make, and the 'DMAKE_MODE' environment variable is
set to "parallel".

Fix some instances of this issue.

* tests/tap-doc.test (Makefile.am): Declare explicit dependencies
among the test cases, to ensure they are run in the correct order.
* tests/tap-doc2.test: Set the 'DMAKE_MODE' environment variable
to "serial", to prevent Sun dmake from trying to run in parallel.
Remove other now-superfluous workarounds for dmake.
tests/tap-doc.test
tests/tap-doc2.test