[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: James McCoy <jamessan_at_debian.org>
Date: Thu, 5 Nov 2015 06:51:23 -0500

On Thu, Nov 05, 2015 at 11:27:23AM +0000, Philip Martin wrote:
> James McCoy <jamessan_at_debian.org> writes:
>
> > Ruby 2.2 changed test/unit from an in-tree wrapper around minitest
> > 4 to a bundled version of the externally maintained ruby-test-unit gem.
> > Similarly, the in-tree minitest was removed and the externally
> > maintained ruby-minitest gem (of the 5.x series) is bundled. These
> > changes broke check-swig-rb, since the test framework APIs behave
> > differently.
>
> This patch works on my Debian/stable system but not on CentOS 7 which
> only has minitest 4.3.2.

As an independent package or as part of the Ruby package? The minitest
that was shipped with Ruby pre-2.2 was the 4.x series, even though there
the external minitest was already at 5.x.

Annoyingly both test frameworks had backwards incompatible changes
between the versions that were previously in-tree and the now bundled
versions.

Cheers,

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan_at_debian.org>
Received on 2015-11-05 12:51:36 CET

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