diff options
Diffstat (limited to 'dev-ruby/minitest/minitest-5.16.3.ebuild')
-rw-r--r-- | dev-ruby/minitest/minitest-5.16.3.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ruby/minitest/minitest-5.16.3.ebuild b/dev-ruby/minitest/minitest-5.16.3.ebuild index 49e898624368..87fd4abad7db 100644 --- a/dev-ruby/minitest/minitest-5.16.3.ebuild +++ b/dev-ruby/minitest/minitest-5.16.3.ebuild @@ -17,6 +17,11 @@ SLOT="5" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc test" +all_ruby_prepare() { + # Avoid a test dependency on dev-ruby/hoe, leading to circular dependencies + rm -f test/minitest/test_minitest_test_task.rb || die +} + each_ruby_test() { export -n A MT_NO_PLUGINS=true ${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed" |