[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Running the test suite faster.

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2007-11-02 01:21:03 CET

On 11/1/07, Karl Fogel <kfogel@red-bean.com> wrote:
> Is 'make check' really slowly for you? Does it take hours and hours
> to complete a full three-RA-layer check?
>
> Mike Pilato reminded me of this trick: configure APR with
>
> ./configure ... --with-devrandom=/dev/urandom ...
>
> A Subversion built against that APR will run the test suite much
> faster. I mean *MUCH* faster: it went from five or six hours (or even
> worse, depending on what entropy was available to my machine) to under
> half an hour.
>
> If you've ever hesitated to do a full test run because of how long it
> would take, try this. You'll never go back.
>
> We should probably document this somewhere, I'm having trouble
> figuring out where though. subversion/tests/cmdline/README?
> faq.html? hacking.html?

If this is news to you, I have a feeling you're in a minority. :-)
 'make check' has never taken more than 40 mins for me, ever, in the
7-year history of the project. In the early days, I had to choose
urandom myself, but for the last N years, they've been chosen for me
by default as I settled into various mac and linux boxes. I had
completely forgotten about the issue, in fact. 'make check' usually
takes 20 mins for me.

Extra bonus tip: try running 'make check PARALLEL=1". It goes from
20 mins to 10.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 2 01:21:12 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.