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