[Python-modules-commits] [ipykernel] 08/08: Add timeout to dh_auto_test
Gordon Ball
chronitis-guest at moszumanska.debian.org
Sun Dec 4 13:55:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository ipykernel.
commit 9d3257c0ca1064470d6a303f74306c5ca9836d11
Author: Gordon Ball <gordon at chronitis.net>
Date: Sun Dec 4 14:06:22 2016 +0100
Add timeout to dh_auto_test
---
debian/changelog | 1 +
debian/rules | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 6fa197a..1750d40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ipykernel (4.5.2-1) UNRELEASED; urgency=medium
* Team upload.
* New upstream release.
+ * Add a timeout to the build-time tests until ipykernel#207 is resolved
-- Gordon Ball <gordon at chronitis.net> Sun, 04 Dec 2016 13:32:44 +0100
diff --git a/debian/rules b/debian/rules
index 7ebf179..aeb09dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,9 @@ override_dh_install:
dh_install
python -m ipykernel install --prefix=$(CURDIR)/debian/python-ipykernel/usr
python3 -m ipykernel install --prefix=$(CURDIR)/debian/python3-ipykernel/usr
+
+override_dh_auto_test:
+ # the tests sometimes complete, but fail to exit due to threads
+ # not being properly cleaned up (see ipykernel#207)
+ # so add a timeout until this is fixed upstream
+ timeout 120 dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ipykernel.git
More information about the Python-modules-commits
mailing list