[Python-modules-commits] [python-tornado] 03/07: Add a patch to skip failing test and fix ftbfs on hurd
Mattia Rizzolo
mattia at debian.org
Thu Apr 28 08:34:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository python-tornado.
commit b5c7c776763cd1b16fc0556231e7767a6fc2ea6c
Author: Mattia Rizzolo <mattia at debian.org>
Date: Thu Apr 28 07:39:02 2016 +0000
Add a patch to skip failing test and fix ftbfs on hurd
---
debian/patches/fix-hurd-ftbfs.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/debian/patches/fix-hurd-ftbfs.patch b/debian/patches/fix-hurd-ftbfs.patch
new file mode 100644
index 0000000..84d14eb
--- /dev/null
+++ b/debian/patches/fix-hurd-ftbfs.patch
@@ -0,0 +1,18 @@
+Description: skip UnixSocketTest on hurd, as unix sockets with SO_REUSEADDR are not supported there
+ A little discussion about unix sockets with SO_REUSEADDR can be found on
+ https://lists.gnu.org/archive/html/bug-hurd/2016-01/msg00039.html
+Author: Mattia Rizzolo <mattia at debian.org>
+Forwarded: no
+Last-Update: 2016-04-28
+
+--- a/tornado/test/httpserver_test.py
++++ b/tornado/test/httpserver_test.py
+@@ -534,6 +534,8 @@
+
+ @unittest.skipIf(not hasattr(socket, 'AF_UNIX') or sys.platform == 'cygwin',
+ "unix sockets not supported on this platform")
++ at unittest.skipIf(sys.platform == 'gnu0',
++ "unix sockets with SO_REUSEADDR not supported on this platform")
+ class UnixSocketTest(AsyncTestCase):
+ """HTTPServers can listen on Unix sockets too.
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-tornado.git
More information about the Python-modules-commits
mailing list