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

Re: [PATCH] Convert Ruby tests from test-unit to minitest

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 17 Nov 2015 13:07:29 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> James McCoy <jamessan_at_debian.org> writes:
>
>> On Mon, Nov 09, 2015 at 12:15:51AM -0500, James McCoy wrote:
>>> On Sat, Nov 07, 2015 at 10:09:37PM -0500, James McCoy wrote:
>>> > The attached patch, however, at least gets the test suite working with
>>> > the test-unit gem, which is a pre-requisite for testing against Ruby
>>> > 2.2.
>>>
>>> Updated to fix a typo in Makefile.in.
>>
>> Ping?
>
> Doesn't work on my Debian/stable box if I have the ruby-minitest package
> installed. I think check_rb() is failing with:
>
> /usr/lib/ruby/2.1.0/test/unit.rb:676:in `<class:Runner>': undefined method `_run_suite' for class `Test::Unit::Runner' (NameError)
>
> If I don't have ruby-minitest installed then the tests work. It appears
> that ruby comes with minitest 4.7.5 and that works, but ruby-mintest
> installs 5.4.2 and that fails.

Hmm, the same problem affects the current code so this is not a new
problem introduced by your patch.

-- 
Philip Martin
WANdisco
Received on 2015-11-17 14:07:43 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.