On 11/9/06, Lieven Govaerts <svnlgo@mobsol.be> wrote:
> 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").
>
Yes, I've seen that thread. I think it's good idea to send updated
your patch with my changes to list.
--
Ivan Zhakov
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 9 10:18:02 2006