[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: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-11-02 09:10:00 CET

"Ben Collins-Sussman" <sussman@red-bean.com> writes:
> 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.

I used to do the same thing years ago, when urandom wasn't the
default. Then it became the default, and for yet more years I had no
problems. Then, somehow, for reasons unknown to me, it apparently
stopped being the default in the APR that comes with HTTPD 2.2.4 and
2.2.6 -- because although I did not specify a random device when I
configured, I was clearly getting the slower (but randomer)
/dev/random, not /dev/urandom.

By that time I had forgotten about the random-vs-urandom thing,
though, so I just assumed my tests were taking longer because we had
more tests, or something. Now that I'm specifying /dev/urandom
explicitly, things are fast for me again.

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

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 2 09:10:17 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.