public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/minitest-bonus-assertions/
Date: Sun, 31 Mar 2024 06:41:46 +0000 (UTC)	[thread overview]
Message-ID: <1711865068.9059d54db3dd4474b00c7283e62367b579f45aad.graaff@gentoo> (raw)

commit:     9059d54db3dd4474b00c7283e62367b579f45aad
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 30 10:10:19 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 31 06:04:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9059d54d

dev-ruby/minitest-bonus-assertions: enable ruby33

Skip more tests that are fragile for whitespace changes.

Closes: https://bugs.gentoo.org/927956
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 .../minitest-bonus-assertions-3.0-r2.ebuild             | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r2.ebuild b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r2.ebuild
index 6c0e2fcd63d5..3847c4ce3cfa 100644
--- a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r2.ebuild
+++ b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
 
@@ -15,17 +15,24 @@ HOMEPAGE="https://github.com/halostatue/minitest-bonus-assertions"
 LICENSE="MIT"
 SLOT="2"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE=""
+IUSE="test"
 
 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
 
-	sed -i -e '/returns true if the \(keys are missing\|sets are not equal\)/askip "Flaky"' test/test_minitest-bonus-assertions.rb || die
+	sed -e '/returns true if the \(keys are missing\|sets are not equal\)/askip "Flaky"' \
+		-i test/test_minitest-bonus-assertions.rb || die
 
 	# Avoid test that returns slightly different formatting on ruby31
-	sed -i -e '/is triggered with a different exception/askip "Fragile for output differences"' test/test_minitest-bonus-assertions.rb || die
+	sed -e '/is triggered with a different exception/askip "Fragile for output differences"' \
+		-i test/test_minitest-bonus-assertions.rb || die
+
+	# Avoid test that returns slightly different formatting with newer set versions.
+	sed -e '207iskip "Fragile for output differences"' \
+		-e '225iskip "Fragile for output differences"' \
+		-i test/test_minitest-bonus-assertions.rb || die
 }
 
 each_ruby_test() {


             reply	other threads:[~2024-03-31  6:41 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-31  6:41 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-02 18:11 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/minitest-bonus-assertions/ Hans de Graaff
2023-04-01 23:19 Sam James
2022-07-13  9:05 Hans de Graaff
2022-05-26  7:17 Hans de Graaff
2022-05-21  9:20 Hans de Graaff
2022-05-19 13:36 Agostino Sarubbo
2022-05-19  9:29 Agostino Sarubbo
2022-05-17  9:19 Agostino Sarubbo
2022-05-17  9:18 Agostino Sarubbo
2022-05-11 14:51 Agostino Sarubbo
2022-05-11 12:59 Agostino Sarubbo
2022-04-26 14:38 Sam James
2021-10-17  6:31 Sam James
2021-08-02 21:48 Marek Szuba
2021-07-13  9:20 Hans de Graaff
2020-07-14 16:38 Sergei Trofimovich
2020-01-26  8:28 Hans de Graaff
2019-04-21  5:54 Hans de Graaff
2019-01-10  8:23 Hans de Graaff
2018-03-08  6:47 Hans de Graaff
2018-02-25  7:47 Hans de Graaff
2017-07-29 14:32 Alexis Ballier
2017-07-01 10:07 Sergei Trofimovich
2017-06-10  5:48 Hans de Graaff
2017-05-26  7:08 Michael Weber
2017-04-28  5:38 Hans de Graaff
2016-10-02 11:32 Jeroen Roovers
2016-10-02 10:55 Jeroen Roovers
2016-07-14  5:52 Hans de Graaff
2016-06-14 19:32 Markus Meier
2016-06-08 11:33 Tobias Klausmann
2016-06-08 11:04 Hans de Graaff
2016-05-21 10:08 Fabian Groffen
2016-05-21 10:08 Fabian Groffen
2015-11-22  8:29 Hans de Graaff
2015-11-22  8:29 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1711865068.9059d54db3dd4474b00c7283e62367b579f45aad.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox