monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Parallel test execution


From: Stephen Leake
Subject: Re: [Monotone-devel] Parallel test execution
Date: Wed, 27 Apr 2011 08:40:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt)

Thomas Keller <address@hidden> writes:

> Am 27.04.2011 10:19, schrieb Stephen Leake:
>> Since it only happens with -jn, this is pretty clearly a bug in make.
>> While we could try to find a work-around, I don't see the point.
>
> Lets have a look at our own sources at first. The job server code is in
> test/src/unix/tester-plaf.cc, Tim probably has the best expertise in
> this area since Zack, who originally wrote most of the code, vanished.
>
>> Just disable parallel builds in the Debian package, and in any other
>> official distribution where it is an issue.
>
> This is an intermediate solution, yes. But given the fact that our test
> suite literally runs ages and grows from release to release, we should
> really tackle down this problem.

I don't follow.

The test code can be run in parallel independent of whether make is. 

Ah. The test code currently gets the number of jobs from MAKEFLAGS. That
could be changed to an explicit -j option in run_*_test; that flag can
be set from DEB_BUILD_OPTIONS 'parallel=n' (at least on Debian).
(http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules
section 4.9.1)

-- 
-- Stephe



reply via email to

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