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: dev-ruby/minitest-bonus-assertions/
Date: Thu, 26 May 2022 07:18:28
Message-Id: 1653549469.6caa712078c8bdea4e978a7356f7304871c2addd.graaff@gentoo
1 commit: 6caa712078c8bdea4e978a7356f7304871c2addd
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 07:16:49 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 07:17:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6caa7120
7
8 dev-ruby/minitest-bonus-assertions: avoid broken tests
9
10 Two tests are flaky and randomly fail for different people.
11
12 Closes: https://bugs.gentoo.org/723928
13 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
14
15 .../minitest-bonus-assertions-3.0-r1.ebuild | 5 +----
16 1 file changed, 1 insertion(+), 4 deletions(-)
17
18 diff --git a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild
19 index 1cec455f175e..82ba961ffe08 100644
20 --- a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild
21 +++ b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild
22 @@ -22,10 +22,7 @@ ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/minitest-pretty_diff )"
23 all_ruby_prepare() {
24 sed -i -e '/\(bisect\|focus\|moar\)/ s:^:#:' test/minitest_config.rb || die
25
26 - # assert the right value (as specified in the text of the test)
27 - # this probably needs more investigation, but this package is only used
28 - # by another package from the same author so we'll go with it
29 - sed -i -e '140 s/true/false/' -e '216 s/false/true/' test/test_minitest-bonus-assertions.rb || die
30 + sed -i -e '/returns true if the \(keys are missing\|sets are not equal\)/askip "Flaky"' test/test_minitest-bonus-assertions.rb || die
31 }
32
33 each_ruby_test() {