summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-06-08 13:03:40 +0200
committerHans de Graaff <graaff@gentoo.org>2016-06-08 13:03:54 +0200
commit149dc7ced43c8922778e48fb568daa1b5490f210 (patch)
tree40119c72b5d66bd96aa6c0399679de81e3693c90 /dev-ruby/minitest-bonus-assertions
parentmedia-video/mkvtoolnix: bump to 9.2.0 (diff)
downloadgentoo-149dc7ced43c8922778e48fb568daa1b5490f210.tar.gz
gentoo-149dc7ced43c8922778e48fb568daa1b5490f210.tar.bz2
gentoo-149dc7ced43c8922778e48fb568daa1b5490f210.zip
dev-ruby/minitest-bonus-assertions: avoid test dependency on dev-ruby/hoe
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/minitest-bonus-assertions')
-rw-r--r--dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-2.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-2.0.ebuild b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-2.0.ebuild
index 5a619babd115..8b7dd9a7efb7 100644
--- a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-2.0.ebuild
+++ b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-2.0.ebuild
@@ -24,3 +24,7 @@ ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/minitest-pretty_diff )"
all_ruby_prepare() {
sed -i -e '/\(bisect\|focus\|moar\)/ s:^:#:' test/minitest_config.rb || die
}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}