diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 11:37:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-17 11:37:14 +0000 |
commit | f8deb4f754798d63fb6b82178452ee846df8475f (patch) | |
tree | 8f187327b54a42741f986268292e3096aadc4019 /dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild | |
parent | c4a46526c2232ba00b0ccc97f2d2a30b0c6baea5 (diff) |
gentoo auto-resync : 17:02:2024 - 11:37:14
Diffstat (limited to 'dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild')
-rw-r--r-- | dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild b/dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild index 9c63cf6e21e6..ec718bb6b313 100644 --- a/dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild +++ b/dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/flavorjones/mini_portile" LICENSE="MIT" SLOT="$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" -IUSE="" +IUSE="test" BDEPEND="test? ( dev-build/cmake )" @@ -24,6 +24,13 @@ ruby_add_bdepend "test? ( dev-ruby/webrick )" +all_ruby_prepare() { + # Avoid tests that expect gcc to be the main compiler, which we + # cannot guarantee. + sed -e '/test_configure_defaults_with/askip("Requires gcc to be the C/C++ compiler.")' \ + -i test/test_cmake.rb || die +} + each_ruby_test() { ${RUBY} -w -W2 -I. -Ilib -e 'Dir["test/test_*.rb"].map{|f| require f}' || die } |