[Debian-med-packaging] Bug#747391: Fix broken autopkgtest

Martin Pitt martin.pitt at ubuntu.com
Thu May 8 08:29:42 UTC 2014


Package: python-biopython
Version: 1.63+dfsg-3
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch utopic
User: autopkgtest-devel at lists.alioth.debian.org
Usertags: autopkgtest

Hello,

python-biopython's autopkgtest currently fails [1]:

| adt-run [2014-05-07 22:27:05]: & apt0t-run-unit-test: [-----------------------
| cp: cannot stat '/usr/share/doc/python-biopython-doc/Tests': No such file or directory

That's because the test does not actually depend on the biopython
packages. After adding them, it fails because the test suite prints
everything to stderr.

Attached patch fixes both, the test succeeds now.

Thanks for considering,

Martin

[1] http://ci.debian.net/data/unstable-amd64/packages/p/python-biopython/2014-05-07.log
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
diff -Nru python-biopython-1.63+dfsg/debian/changelog python-biopython-1.63+dfsg/debian/changelog
--- python-biopython-1.63+dfsg/debian/changelog	2014-05-05 20:16:39.000000000 +0200
+++ python-biopython-1.63+dfsg/debian/changelog	2014-05-08 10:27:10.000000000 +0200
@@ -1,3 +1,10 @@
+python-biopython (1.63+dfsg-3ubuntu1) utopic; urgency=medium
+
+  * Depend on our own packages in the autopkgtest and add missing
+    "allow-stderr" restriction.
+
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Thu, 08 May 2014 09:50:56 +0200
+
 python-biopython (1.63+dfsg-3) unstable; urgency=medium
 
   * Set HOME=/tmp also in autopkgtest
diff -Nru python-biopython-1.63+dfsg/debian/tests/control python-biopython-1.63+dfsg/debian/tests/control
--- python-biopython-1.63+dfsg/debian/tests/control	2014-04-24 11:41:07.000000000 +0200
+++ python-biopython-1.63+dfsg/debian/tests/control	2014-05-08 10:18:30.000000000 +0200
@@ -1,2 +1,3 @@
 Tests: run-unit-test
-Depends: @builddeps@
+Depends: @, @builddeps@
+Restrictions: allow-stderr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140508/96827c2f/attachment-0001.sig>


More information about the Debian-med-packaging mailing list