[Python-modules-commits] [m2crypto] 02/05: deb/rules: temporarily disable test_HTTPSConnection_SNI_support on ppc-s

Daniel Stender stender at moszumanska.debian.org
Tue Nov 14 21:52:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

stender pushed a commit to branch debian/master
in repository m2crypto.

commit 52461565087b886105df5a2fe5c182b879e9d5df
Author: Daniel Stender <stender at debian.org>
Date:   Tue Nov 14 00:02:06 2017 +0100

    deb/rules: temporarily disable test_HTTPSConnection_SNI_support on ppc-s
---
 debian/changelog      | 4 +++-
 debian/patches/series | 1 -
 debian/rules          | 5 +++++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3e925bc..a3f2c00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
 m2crypto (0.27.0-4) UNRELEASED; urgency=medium
 
+  * deb/rules: temporarily disable test_HTTPSConnection_SNI_support on ppc-s
+    (Closes: #881652), drop sni-test-race.patch (fix not working).
   * deb/source/options: complete modified files for extend-diff-ignore.
 
- -- Daniel Stender <stender at debian.org>  Mon, 13 Nov 2017 23:16:29 +0100
+ -- Daniel Stender <stender at debian.org>  Mon, 13 Nov 2017 23:57:50 +0100
 
 m2crypto (0.27.0-3) unstable; urgency=medium
 
diff --git a/debian/patches/series b/debian/patches/series
index efb28e1..003a513 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 0001-import-inspect-in-urllib-2.patch
-sni-test-race.patch
diff --git a/debian/rules b/debian/rules
index 613d296..fc1bdb1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,12 @@ export https_proxy=
 	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_test:
+ifneq (,$(filter $(DEB_BUILD_ARCH),ppc64el powerpc ppc64))
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -Wd -m pytest -k 'not test_HTTPSConnection_SNI_support' -v -rs" dh_auto_test
+else
 	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -Wd -m pytest -v -rs" dh_auto_test
+endif
+	# temporarily disable test_ssl.py::HttpslibSSLClientTestCase::test_HTTPSConnection_SNI_support, see #881652
 
 override_dh_auto_install:
 	dh_auto_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/m2crypto.git



More information about the Python-modules-commits mailing list