diff options
-rw-r--r-- | dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild index d350dd8378d9..2d80c363b30b 100644 --- a/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild +++ b/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" @@ -21,7 +21,6 @@ IUSE="" ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4 !<dev-ruby/ruby_parser-2.3.1-r1" -ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )" ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.10.1:4 )" DEPEND+=" test? ( dev-util/unifdef )" @@ -33,3 +32,7 @@ all_ruby_prepare() { sed -i -e '/license/d' Rakefile || die sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die } + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |