Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 25 Sep 2022 08:43:21
Message-Id: 1664095387.a1952f575314f03842ce2db5dd8c1d31323db847.graaff@gentoo
1 commit: a1952f575314f03842ce2db5dd8c1d31323db847
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 08:39:41 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 08:43:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1952f57
7
8 eclass/ruby-fakegem.eclass: turn off minitest plugins
9
10 By default dev-ruby/minitest loads all plugins that are installed in the
11 system. Most of these are harmless, but some cause issues with
12 dependencies and versions. None of these plugins are needed for tests to
13 pass so we can avoid issues by not loading them.
14
15 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
16
17 eclass/ruby-fakegem.eclass | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
21 index 6f561f4f6a2f..8cf5dd70f864 100644
22 --- a/eclass/ruby-fakegem.eclass
23 +++ b/eclass/ruby-fakegem.eclass
24 @@ -552,7 +552,7 @@ each_fakegem_test() {
25
26 case ${RUBY_FAKEGEM_RECIPE_TEST} in
27 rake)
28 - ${RUBY} --disable=did_you_mean -S rake ${RUBY_FAKEGEM_TASK_TEST} || die "tests failed"
29 + MT_NO_PLUGINS=true ${RUBY} --disable=did_you_mean -S rake ${RUBY_FAKEGEM_TASK_TEST} || die "tests failed"
30 ;;
31 rspec)
32 RSPEC_VERSION=2 ruby-ng_rspec