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 0A78E158041 for ; Sat, 23 Mar 2024 18:11:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45F8FE29F7; Sat, 23 Mar 2024 18:11:55 +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 21732E29F7 for ; Sat, 23 Mar 2024 18:11:55 +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 0B2A4341B52 for ; Sat, 23 Mar 2024 18:11:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 554AE156A for ; Sat, 23 Mar 2024 18:11:52 +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: <1711217466.70ec3ac4c1b52d29c86004c74ddabbefa919866a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libdnet/libdnet-1.16.4.ebuild dev-libs/libdnet/libdnet-1.17.0.ebuild dev-libs/libdnet/libdnet-1.18.0.ebuild X-VCS-Directories: dev-libs/libdnet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 70ec3ac4c1b52d29c86004c74ddabbefa919866a X-VCS-Branch: master Date: Sat, 23 Mar 2024 18:11:52 +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: 01485db1-1d15-49f7-91ba-13945bebe314 X-Archives-Hash: 004f0e3280872ae184ffa29aeb90b752 commit: 70ec3ac4c1b52d29c86004c74ddabbefa919866a Author: Sam James gentoo org> AuthorDate: Sat Mar 23 18:11:06 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 23 18:11:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ec3ac4 dev-libs/libdnet: fix tests XFAIL 2 known-bad tests, using Debian's rationale (they also only fail in our sandboxes IIRC). Thanks to matoro for the hint. Closes: https://bugs.gentoo.org/778797 Signed-off-by: Sam James gentoo.org> dev-libs/libdnet/libdnet-1.16.4.ebuild | 8 +++++++- dev-libs/libdnet/libdnet-1.17.0.ebuild | 11 ++++++++--- dev-libs/libdnet/libdnet-1.18.0.ebuild | 9 +++++++-- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/dev-libs/libdnet/libdnet-1.16.4.ebuild b/dev-libs/libdnet/libdnet-1.16.4.ebuild index 63ed423fc1db..f711dff63e94 100644 --- a/dev-libs/libdnet/libdnet-1.16.4.ebuild +++ b/dev-libs/libdnet/libdnet-1.16.4.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 @@ -70,6 +70,12 @@ src_compile() { fi } +src_test() { + # https://bugs.gentoo.org/778797#c4 + # check_ip needs privileges and check_fw can't work on Linux + emake check XFAIL_TESTS="check_fw check_ip" +} + src_install() { default diff --git a/dev-libs/libdnet/libdnet-1.17.0.ebuild b/dev-libs/libdnet/libdnet-1.17.0.ebuild index 6375fca7a56c..fd47d46e0186 100644 --- a/dev-libs/libdnet/libdnet-1.17.0.ebuild +++ b/dev-libs/libdnet/libdnet-1.17.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 @@ -17,8 +17,7 @@ LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="python test" -# Tests fail in sandbox -RESTRICT="!test? ( test ) test" +RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" @@ -75,6 +74,12 @@ src_compile() { fi } +src_test() { + # https://bugs.gentoo.org/778797#c4 + # check_ip needs privileges and check_fw can't work on Linux + emake check XFAIL_TESTS="check_fw check_ip" +} + src_install() { default diff --git a/dev-libs/libdnet/libdnet-1.18.0.ebuild b/dev-libs/libdnet/libdnet-1.18.0.ebuild index acb3b2536aa4..fd47d46e0186 100644 --- a/dev-libs/libdnet/libdnet-1.18.0.ebuild +++ b/dev-libs/libdnet/libdnet-1.18.0.ebuild @@ -17,8 +17,7 @@ LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="python test" -# Tests fail in sandbox -RESTRICT="!test? ( test ) test" +RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" @@ -75,6 +74,12 @@ src_compile() { fi } +src_test() { + # https://bugs.gentoo.org/778797#c4 + # check_ip needs privileges and check_fw can't work on Linux + emake check XFAIL_TESTS="check_fw check_ip" +} + src_install() { default