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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5D29158064 for ; Sat, 4 May 2024 06:47:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B0842BC017; Sat, 4 May 2024 06:47:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF6222BC017 for ; Sat, 4 May 2024 06:47:44 +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 29B033430EF for ; Sat, 4 May 2024 06:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4413D15AF for ; Sat, 4 May 2024 06:47:42 +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: <1714805252.c9435ce51cf36392d0db0625584125b3a48b1953.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/io-wait/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/io-wait/io-wait-0.3.1.ebuild X-VCS-Directories: dev-ruby/io-wait/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c9435ce51cf36392d0db0625584125b3a48b1953 X-VCS-Branch: master Date: Sat, 4 May 2024 06:47:42 +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: c5babc4d-569b-46c1-b0c0-f26ac58b2fa2 X-Archives-Hash: 1999f47c2015e7c7246adbdb2992d45f commit: c9435ce51cf36392d0db0625584125b3a48b1953 Author: Hans de Graaff gentoo org> AuthorDate: Sat May 4 06:46:45 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat May 4 06:47:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9435ce5 dev-ruby/io-wait: fix running tests Run the tests directly again to avoid unneeded dependencies in the Rakefile. Closes: https://bugs.gentoo.org/931132 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/io-wait/io-wait-0.3.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-ruby/io-wait/io-wait-0.3.1.ebuild b/dev-ruby/io-wait/io-wait-0.3.1.ebuild index 4c5293ff23a6..eb46cedf6b23 100644 --- a/dev-ruby/io-wait/io-wait-0.3.1.ebuild +++ b/dev-ruby/io-wait/io-wait-0.3.1.ebuild @@ -29,3 +29,7 @@ all_ruby_prepare() { sed -e '/test_wait_mask_\(negative\|readable\|writable\|zero\)/aomit("Requires working console")' \ -i test/io/wait/test_io_wait.rb || die } + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +}