From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DDE3E15815E for ; Fri, 9 Feb 2024 09:14:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E31DAE29BA; Fri, 9 Feb 2024 09:14:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B93A7E29BA for ; Fri, 9 Feb 2024 09:14:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A6F06343061 for ; Fri, 9 Feb 2024 09:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DA3B14BD for ; Fri, 9 Feb 2024 09:13:59 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1707470030.12d733dbb55780dd082174b43e2d4c13f6a912ab.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rake/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rake/rake-13.1.0.ebuild X-VCS-Directories: dev-ruby/rake/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 12d733dbb55780dd082174b43e2d4c13f6a912ab X-VCS-Branch: master Date: Fri, 9 Feb 2024 09:13:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 45faa617-d29d-4aee-9ad3-34e28156b45c X-Archives-Hash: a4a9c5463c971baacbecffd8ce85188b commit: 12d733dbb55780dd082174b43e2d4c13f6a912ab Author: Hans de Graaff gentoo org> AuthorDate: Fri Feb 9 09:10:15 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Feb 9 09:13:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d733db dev-ruby/rake: fix tests when rake is not installed Ensure that the test suite uses the local files only, otherwise one of the tests will mysteriously fail when rake is not already installed. Also avoid loading minitest plugins which may break when rake is not present. Closes: https://bugs.gentoo.org/867652 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rake/rake-13.1.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/rake/rake-13.1.0.ebuild b/dev-ruby/rake/rake-13.1.0.ebuild index 4ce7d447e2c7..2b254de6cfb7 100644 --- a/dev-ruby/rake/rake-13.1.0.ebuild +++ b/dev-ruby/rake/rake-13.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -43,7 +43,7 @@ all_ruby_compile() { } each_ruby_test() { - ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die + MT_NO_PLUGINS=true RUBYLIB="$(pwd)/lib" ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die } all_ruby_install() {