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 A1BCF1382C5 for ; Sun, 31 May 2020 09:44:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB0E0E0933; Sun, 31 May 2020 09:44:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3987E0933 for ; Sun, 31 May 2020 09:44:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36D1334F019 for ; Sun, 31 May 2020 09:44:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0B0E31 for ; Sun, 31 May 2020 09:44:17 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1590918247.e03caca6042abe04a3053ba9f5319ccbadfe5365.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/distcc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/distcc/distcc-3.3.3-r1.ebuild X-VCS-Directories: sys-devel/distcc/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e03caca6042abe04a3053ba9f5319ccbadfe5365 X-VCS-Branch: master Date: Sun, 31 May 2020 09:44:17 +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: 87e2a6f5-0751-4dc4-affe-a11afdcfdb43 X-Archives-Hash: aa9e5025208fad3fa888cd7f4e033fcf commit: e03caca6042abe04a3053ba9f5319ccbadfe5365 Author: Michał Górny gentoo org> AuthorDate: Sun May 31 09:31:30 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 31 09:44:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03caca6 sys-devel/distcc: Fix tests Signed-off-by: Michał Górny gentoo.org> sys-devel/distcc/distcc-3.3.3-r1.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sys-devel/distcc/distcc-3.3.3-r1.ebuild b/sys-devel/distcc/distcc-3.3.3-r1.ebuild index fd9f3fafc19..d7992e1b301 100644 --- a/sys-devel/distcc/distcc-3.3.3-r1.ebuild +++ b/sys-devel/distcc/distcc-3.3.3-r1.ebuild @@ -17,8 +17,6 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" IUSE="gnome gssapi gtk hardened ipv6 selinux xinetd zeroconf" -RESTRICT="test" - CDEPEND="${PYTHON_DEPS} dev-libs/popt gnome? ( @@ -70,6 +68,9 @@ src_prepare() { -e "s:@libdir@:/usr/lib:" \ "${FILESDIR}/distcc-config" > "${T}/distcc-config" || die + # TODO: gdb tests fail due to gdb failing to find .c file + sed -i -e '/Gdb.*Case,/d' test/testdistcc.py || die + hprefixify update-distcc-symlinks.py src/{serve,daemon}.c python_fix_shebang update-distcc-symlinks.py "${T}/distcc-config" eautoreconf @@ -89,6 +90,13 @@ src_configure() { econf "${myconf[@]}" } +src_test() { + # sandbox breaks some tests, and hangs some too + # retest once #590084 is fixed + local -x SANDBOX_ON=0 + emake -j1 check +} + src_install() { # override GZIP_BIN to stop it from compressing manpages emake DESTDIR="${D}" GZIP_BIN=false install