[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#610448: [Fwd: Re: Hurd file locking: Was: Re: New hurd package version]



Sorry, this mail was also meant to be sent to the bug itself.

-------- Forwarded Message --------
From: Svante Signell <svante.signell@telia.com>
To: debian-hurd@lists.debian.org
Cc: control <control@bugs.debian.org>
Subject: Re: Hurd file locking: Was: Re: New hurd package version
Date: Wed, 23 Mar 2011 07:30:57 +0100

tags 610448 patch
kthxbye

On Tue, 2011-03-22 at 23:35 +0100, Samuel Thibault wrote:
> Svante Signell, le Tue 22 Mar 2011 23:24:58 +0100, a écrit :
> > Don't know how to make python-apt build without disabling all tests,
> > though.
> 
> Well, the package should be made to support DEB_BUILD_OPTIONS=nocheck
> 
> In the mean time, we can upload a patched package on debian-ports.

The patch supporting DEB_BUILD_OPTIONS was already supported in bug
#610448,submitted by Pino Toscano, see below. However, the package
maintainer recommends an apt.conf setting Debug::NoLocking until the
file locking problem is solved. Since this is not yet implemented
we might go for the below solution for debian-ports.

--- a/debian/rules
+++ b/debian/rules
@@ -29,9 +29,13 @@
 	dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv
 
 override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	set -e; for python in $(shell pyversions -r); do \
 		$$python tests/test_all.py -q; \
 	done;
+else
+	echo "tests disabled"
+endif
 
 override_dh_python2:
 	dh_python2 -N python-apt-common







Reply to: