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

Re: [PATCH] enabling ruby in the subversion build

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 26 Jan 2012 11:47:52 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> Vincent Batts <vbatts_at_slackware.com> writes:
>
>> On 19/12/11 10:04 +0200, Daniel Shahaf wrote:
>>>Please send separate patches for separate functional changes. Getting
>>>the tests to pass with ruby1.8 would be a separate functional change than
>>>supporting ruby1.9.
>>
>> Okay after a bit of familiarizing myself with the svn library, attached
>> are two patches. One that is a patch to accomodate the ruby bindings for
>> 1.8 and 1.9 (svn-ruby-1.9-fixes.patch).
>> The other is an update to the unit tests, to catch ruby 1.9
>> up to speed, while not breaking the tests for ruby 1.8 (svn-update-ruby-tests.patch)
>> All tests pass ruby 1.8, like they have, and all but 1 pass on ruby
>> 1.9.3. The one test that is failing is in time_delta.rb, and is due to
>> the overhaul of encoding that happened for ruby 1.9. I would welcome
>> someone investigating this encoding challenge too. But otherwise things
>> look pretty good to support ruby 1.9 now.
>
> I think you have names of two patches switched, but never mind. When I
> try to use ruby 1.9.1 the tests fail:
>
> make check-swig-rb
> cd /home/pm/sw/subversion/obj2/subversion/bindings/swig/ruby; \
> if [ "1" -eq 1 -a "9" -lt 9 ] ; then \
> /usr/bin/ruby1.9.1 -I /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby \
> /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby/test/run-test.rb \
> --verbose=normal; \
> else \
> /usr/bin/ruby1.9.1 -I /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby \
> /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby/test/run-test.rb; \
> fi
> <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- test/unit/ui/testrunnermediator (LoadError)
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext/always-show-result.rb:20:in `<top (required)>'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext.rb:20:in `<top (required)>'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby/test/run-test.rb:38:in `<main>'
> make: *** [check-swig-rb] Error 1

Is this because only 1.9.1 is not supported and I need 1.9.3? Both
configure and 'make swig-rb' appear to work but 'make check-swig-rb'
fails.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-01-26 12:48:29 CET

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.