bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] parallel-tests: fix another BSD parallel make issue


From: Stefano Lattarini
Subject: Re: [PATCH] parallel-tests: fix another BSD parallel make issue
Date: Sun, 19 Feb 2012 15:03:40 +0100

On 02/18/2012 11:12 PM, Stefano Lattarini wrote:
> On 02/18/2012 02:09 PM, Stefano Lattarini wrote:
>> [CC:ing bug-autoconf for Yet Another BSD make Bug, in case someone
>>  cares to documenting it ...]
>>
>> When BSD make is run in parallel mode, it apparently strips any leading
>> directory component from the automatic variable '$*' (of course, against
>> what POSIX mandates).  This is causing FreeBSD 9.0 make and NetBSD 5.1
>> make to spuriously fail with automake-generated test harnesses if subdir
>> tests are present *and* make is being run in parallel mode.  This issue
>> affects also the Automake own testsuite.
>>
>> The attached patch should work around the problem.
>>
>> I will test this patch more properly in the next few days, and apply it
>> if it causes no regression.
>>
The fix seems to work with every Automake-supported make implementation I
have access to (GNU make 3.80, 3.81 and 3.82, Solaris 10 /usr/ccs/bin/make,
Sun Distributed Make 7.8, and FreeBSD 9 make, NetBSD 5.1 make and OpenBSD
5.0 make.

I've thus pushed the patch, with the attached follow-up to fix a new
testsuite weakness.

Regards,
  Stefano

Attachment: 0001-tests-be-stricter-in-determining-whether-make-jN-wor.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]