summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-31 11:31:30 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-31 11:44:07 +0200
commite03caca6042abe04a3053ba9f5319ccbadfe5365 (patch)
tree5929bb54469f06474cbbc86bdcda4c672d5840dd /sys-devel/distcc/distcc-3.3.3-r1.ebuild
parentnet-analyzer/graphite-web-1.1.7: version bump with support for Django 3 (diff)
downloadgentoo-e03caca6042abe04a3053ba9f5319ccbadfe5365.tar.gz
gentoo-e03caca6042abe04a3053ba9f5319ccbadfe5365.tar.bz2
gentoo-e03caca6042abe04a3053ba9f5319ccbadfe5365.zip
sys-devel/distcc: Fix tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/distcc/distcc-3.3.3-r1.ebuild')
-rw-r--r--sys-devel/distcc/distcc-3.3.3-r1.ebuild12
1 files 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