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

Re: Parallelizing the python testsuite

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2006-11-09 09:54:12 CET

Quoting Ivan Zhakov <chemodax@gmail.com>:

> On 11/9/06, Ivan Zhakov <chemodax@gmail.com> wrote:
> > On 11/6/06, Lieven Govaerts <lgo@mobsol.be> wrote:
> > >
> > > Attached patch is my work in progress towards a parallelized python test
> > > suite. It's not completely finished, basically it needs some more
> > > testing, some fixes (not all the tests are passing), code cleanup and a
> > > log message. But, I send it to the list anyway, so people interested in
> > > this patch can already have a look at it .
> > Hi Lieven,
> > Great work! For present time I'm switching to Mac, so I've tested your
> patch:
> > [[
> > chmbook:~/Subversion/trunk/subversion/tests/cmdline ivan$ ./basic_tests.py
> -p
> > ................................Traceback (most recent call last):
> > File "./basic_tests.py", line 1773, in ?
> > svntest.main.run_tests(test_list)
> > File
> "/Users/ivan/Subversion/trunk/subversion/tests/cmdline/svntest/main.py",
> > line 996, in run_tests
> > exit_code = _internal_run_tests(test_list, testnums, parallel)
> > File
> "/Users/ivan/Subversion/trunk/subversion/tests/cmdline/svntest/main.py",
> > line 868, in _internal_run_tests
> > finished_tests.sort(key=lambda test: test.index)
> > TypeError: sort() takes no keyword arguments
> > ]]
> >
> > May be it's because it doesn't support Python 2.3?

The lambda feature is introduced in 2.4. I have alternative code, I'll change to
patch to use that.

> Also catch my addition to your patch to implement make check PARALLEL
> command to test on non-windows platform.
>
Yes, thanks for that, I was hoping for someone to add that :)

I have to change some things in the sandbox set up code, running basic_tests on
ra_dav in parallel doesn't work (see the other mail thread: "[svn] x [fsfs]
basic_tests.py failures").

Lieven

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 9 09:54:37 2006

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