dev-ruby/mime-types: fix tests

Avoid the need for dev-ruby/hoe by using the earlier test invocation
with a fix to make that work correctly.

Closes: https://bugs.gentoo.org/824750
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2021-11-19 11:26:25 +01:00
parent a53c6c338d
commit 7a9eb8ae29

View File

@@ -26,3 +26,7 @@ all_ruby_prepare() {
sed -i -e '/\(focus\|rg\)/ s:^:#:' \
-e 's:fivemat/::' test/minitest_helper.rb || die
}
each_ruby_test() {
${RUBY} -Ilib:test:. -e 'require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die
}