commit:     a5d5e2544a5fa8ea19d922b6192dc5ecd44a621d
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 09:03:27 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 09:05:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d5e254

dev-ruby/bcat: fix tests by using newer test-unit, bug 621096

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-ruby/bcat/bcat-0.6.2-r2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/bcat/bcat-0.6.2-r2.ebuild 
b/dev-ruby/bcat/bcat-0.6.2-r2.ebuild
index ecf1f4861a1..17d94f83896 100644
--- a/dev-ruby/bcat/bcat-0.6.2-r2.ebuild
+++ b/dev-ruby/bcat/bcat-0.6.2-r2.ebuild
@@ -20,7 +20,8 @@ IUSE=""
 # Collides on /usr/bin/bcat, bug 418301
 RDEPEND="${RDEPEND} !!<app-accessibility/speech-tools-2.1-r3"
 
-ruby_add_bdepend "doc? ( app-text/ronn )"
+ruby_add_bdepend "doc? ( app-text/ronn )
+       test? ( dev-ruby/test-unit:2 )"
 
 ruby_add_rdepend "dev-ruby/rack:*"
 
@@ -32,7 +33,7 @@ each_ruby_test() {
        # The Rakefile uses weird trickery with load path that causes gems
        # not to be found. Run tests directly instead and do the trickery
        # here to support popen calls for the bins in this package.
-       RUBY=${RUBY} RUBYLIB=lib:${RUBYLIB} PATH=bin:${PATH} ${RUBY} -S testrb 
test/test_*.rb || die
+       RUBY=${RUBY} RUBYLIB=lib:${RUBYLIB} PATH=bin:${PATH} ${RUBY} -S 
testrb-2 test/test_*.rb || die
 }
 
 all_ruby_install() {

Reply via email to