diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-19 11:26:25 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-19 11:26:31 +0100 |
commit | 7a9eb8ae29af1f39f2d802b8481ef5e7217e6920 (patch) | |
tree | 01ababfa665eae749f37437fb6b9ecd5916dca13 | |
parent | sys-boot/refind: fix build with gnu-efi-3.0.14 (diff) | |
download | gentoo-7a9eb8ae29af1f39f2d802b8481ef5e7217e6920.tar.gz gentoo-7a9eb8ae29af1f39f2d802b8481ef5e7217e6920.tar.bz2 gentoo-7a9eb8ae29af1f39f2d802b8481ef5e7217e6920.zip |
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>
-rw-r--r-- | dev-ruby/mime-types/mime-types-3.4.1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/mime-types/mime-types-3.4.1.ebuild b/dev-ruby/mime-types/mime-types-3.4.1.ebuild index b05c02f82781..1fe0d52a87de 100644 --- a/dev-ruby/mime-types/mime-types-3.4.1.ebuild +++ b/dev-ruby/mime-types/mime-types-3.4.1.ebuild @@ -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 +} |