diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-11-05 11:04:49 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-11-06 08:07:56 +0100 |
commit | 06e05ef300564f63090d186202219a17c7130e4a (patch) | |
tree | 544ec847e7904b9ff49e49fa0c3cbb19aa4a1cc7 /dev-ruby/minitest | |
parent | dev-ruby/activesupport: require new enough dalli for tests (diff) | |
download | gentoo-06e05ef300564f63090d186202219a17c7130e4a.tar.gz gentoo-06e05ef300564f63090d186202219a17c7130e4a.tar.bz2 gentoo-06e05ef300564f63090d186202219a17c7130e4a.zip |
dev-ruby/minitest: avoid test dep on dev-ruby/hoe
Closes: https://bugs.gentoo.org/867289
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/minitest')
-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" |