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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8723F158012 for ; Sat, 25 Sep 2021 02:58:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 666A7E09B0; Sat, 25 Sep 2021 02:58:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47A7FE09B0 for ; Sat, 25 Sep 2021 02:58:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31217342C91 for ; Sat, 25 Sep 2021 02:58:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB556102 for ; Sat, 25 Sep 2021 02:58:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1632538415.7746b3a35179bf129899d5684789d2e668937fc4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bats/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bats/bats-1.3.0.ebuild dev-util/bats/bats-1.4.1.ebuild X-VCS-Directories: dev-util/bats/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7746b3a35179bf129899d5684789d2e668937fc4 X-VCS-Branch: master Date: Sat, 25 Sep 2021 02:58:11 +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: de29de81-3a79-446c-bad6-4b8b3007a331 X-Archives-Hash: f5a55177b43fb2b32cd3b3b4962b3355 commit: 7746b3a35179bf129899d5684789d2e668937fc4 Author: Henning Schild hennsch de> AuthorDate: Tue Aug 24 08:41:24 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 25 02:53:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7746b3a3 dev-util/bats: disable failing test Could not figure out why exactly that test fails, but it has to do with the portage environment it runs in. Outside that environment it works just fine and upstream will have tested that when they release to us. Closes: https://bugs.gentoo.org/809755 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Sam James gentoo.org> dev-util/bats/bats-1.3.0.ebuild | 6 ++++++ dev-util/bats/bats-1.4.1.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/dev-util/bats/bats-1.3.0.ebuild b/dev-util/bats/bats-1.3.0.ebuild index 452bf442d00..a30d15fa882 100644 --- a/dev-util/bats/bats-1.3.0.ebuild +++ b/dev-util/bats/bats-1.3.0.ebuild @@ -19,6 +19,12 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_PN}-${PV}" +src_prepare() { + default + # "parallelity factor is met exactly" fails in portage, disable + sed -i -e 's/@test "parallelity factor is met exactly" {$/@test "parallelity factor is met exactly" { skip "gentoo"/' test/parallel.bats || die +} + src_test() { bin/bats --tap test || die "Tests failed" } diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild index d79c423b4e2..9f246e29edd 100644 --- a/dev-util/bats/bats-1.4.1.ebuild +++ b/dev-util/bats/bats-1.4.1.ebuild @@ -19,6 +19,12 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_PN}-${PV}" +src_prepare() { + default + # "parallelity factor is met exactly" fails in portage, disable + sed -i -e 's/@test "parallelity factor is met exactly" {$/@test "parallelity factor is met exactly" { skip "gentoo"/' test/parallel.bats || die +} + src_test() { local my_jobs=$(makeopts_jobs) if ! command -v parallel; then