Skip to content

Commit

Permalink
dev-ruby/bcat: fix tests by using newer test-unit, bug 621096
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.5, Repoman-2.3.1
  • Loading branch information
graaff committed Jun 10, 2017
1 parent 9acab46 commit a5d5e25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev-ruby/bcat/bcat-0.6.2-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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:*"

Expand All @@ -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() {
Expand Down

0 comments on commit a5d5e25

Please sign in to comment.