commit: a1952f575314f03842ce2db5dd8c1d31323db847
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 25 08:39:41 2022 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 08:43:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1952f57
eclass/ruby-fakegem.eclass: turn off minitest plugins
By default dev-ruby/minitest loads all plugins that are installed in the
system. Most of these are harmless, but some cause issues with
dependencies and versions. None of these plugins are needed for tests to
pass so we can avoid issues by not loading them.
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
eclass/ruby-fakegem.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 6f561f4f6a2f..8cf5dd70f864 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -552,7 +552,7 @@ each_fakegem_test() {
case ${RUBY_FAKEGEM_RECIPE_TEST} in
rake)
- ${RUBY} --disable=did_you_mean -S rake
${RUBY_FAKEGEM_TASK_TEST} || die "tests failed"
+ MT_NO_PLUGINS=true ${RUBY} --disable=did_you_mean -S
rake ${RUBY_FAKEGEM_TASK_TEST} || die "tests failed"
;;
rspec)
RSPEC_VERSION=2 ruby-ng_rspec