Testsuite now works with BSD make in parallel mode.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 10 Jun 2010 17:47:13 +0000 (19:47 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 11 Jun 2010 04:22:33 +0000 (06:22 +0200)
* tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
which are exported by BSD make when run in parallel mode, and
which can confuse make processes spawned by our testsuite.
This change fixes a lot of spurious failure when the testsuite
is run with BSD make in parallel mode.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/defs.in

index 28786b0..710dea6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       Testsuite now works with BSD make in parallel mode.
+       * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
+       which are exported by BSD make when run in parallel mode, and
+       which can confuse make processes spawned by our testsuite.
+       This change fixes a lot of spurious failure when the testsuite
+       is run with BSD make in parallel mode.
+
 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        Modernize, improve and/or fix various test scripts.
index 18f2aeb..1744a07 100644 (file)
@@ -301,7 +301,7 @@ cd ./$testSubDir
 # recursively invoked sub-make.  Any $MAKE invocation in a test is
 # conceptually an independent invocation, not part of the main
 # 'automake' build.
-unset MFLAGS MAKEFLAGS MAKELEVEL AM_MAKEFLAGS
+unset MFLAGS MAKEFLAGS AM_MAKEFLAGS MAKELEVEL __MKLVL__ MAKE_JOBS_FIFO
 # Unset verbosity flag.
 unset V
 # Also unset variables that will let `make -e install' divert