commit: aafb07850a96e3454336369b67e8b08a46aa8239
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 06:23:58 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 07:09:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafb0785
dev-ruby/ansi: partly wire up tests, still restricted
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-ruby/ansi/ansi-1.5.0-r1.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-ruby/ansi/ansi-1.5.0-r1.ebuild
b/dev-ruby/ansi/ansi-1.5.0-r1.ebuild
index 6842446df0a1..a72fb394da1a 100644
--- a/dev-ruby/ansi/ansi-1.5.0-r1.ebuild
+++ b/dev-ruby/ansi/ansi-1.5.0-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
@@ -20,3 +21,7 @@ IUSE=""
# Tests cause circular dependencies with dev-ruby/qed & dev-ruby/rubytest
RESTRICT="test"
+
+each_ruby_test() {
+ ${RUBY} -S rubytest -Ilib -Itest test/ || die 'tests failed'
+}