[pytables] 01/01: Temporary disable tests that use lz4 on s390x

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Fri Aug 15 08:42:55 UTC 2014


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

a_valentino-guest pushed a commit to branch master
in repository pytables.

commit 0e131a60e97224fe7592520ae490836df14b6e9a
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Fri Aug 15 07:37:34 2014 +0000

    Temporary disable tests that use lz4 on s390x
---
 debian/changelog                                   |  9 ++++++
 ...desable-tests-that-use-the-lz4-conpressor.patch | 32 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 42 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0626163..3734e9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+pytables (3.1.1-3) unstable; urgency=medium
+
+  * New patch:
+    0007-Temporay-desable-tests-that-use-the-lz4-conpressor.patch
+    The patch temporay desables tests that use the lz4 conpressor
+    on the s390x platform (see #757581 for more details).
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Fri, 15 Aug 2014 07:37:41 +0000
+
 pytables (3.1.1-2) unstable; urgency=medium
  
   * Support hdf5 1.8.13 new packaging layout (Closes: #756694)
diff --git a/debian/patches/0007-Temporay-desable-tests-that-use-the-lz4-conpressor.patch b/debian/patches/0007-Temporay-desable-tests-that-use-the-lz4-conpressor.patch
new file mode 100644
index 0000000..47b11a9
--- /dev/null
+++ b/debian/patches/0007-Temporay-desable-tests-that-use-the-lz4-conpressor.patch
@@ -0,0 +1,32 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Fri, 15 Aug 2014 07:27:45 +0000
+Subject: Temporay desable tests that use the lz4 conpressor
+
+The lz4 compression library (r119) seems to have some problem
+on the s390x platform (see #757581).
+PyTables tests that use the lz4 compressor are temporary disabled
+(on s390 platforms) in order to avoid to block the upcoming
+auto-hdf5 trasnition.
+
+Tests will be re-enabled as soon as the #757581 is closed.
+---
+ tables/tests/test_tables.py | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/tables/tests/test_tables.py b/tables/tests/test_tables.py
+index c6396d1..ea79d5c 100644
+--- a/tables/tests/test_tables.py
++++ b/tables/tests/test_tables.py
+@@ -6743,8 +6743,10 @@ def suite():
+         theSuite.addTest(unittest.makeSuite(
+             CompressBloscBloscLZTablesTestCase))
+         if 'lz4' in tables.blosc_compressor_list():
+-            theSuite.addTest(unittest.makeSuite(
+-                CompressBloscLZ4TablesTestCase))
++            import platform
++            if 's390x' not in platform.platform().lower():
++                theSuite.addTest(unittest.makeSuite(
++                    CompressBloscLZ4TablesTestCase))
+             theSuite.addTest(unittest.makeSuite(
+                 CompressBloscLZ4HCTablesTestCase))
+         if 'snappy' in tables.blosc_compressor_list():
diff --git a/debian/patches/series b/debian/patches/series
index a669081..3f427ea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Never-use-the-msse2-flag-explicitly.patch
 0005-Do-not-fetch-icons-for-external-web-sites.patch
 0006-fix-an-import-issue-with-cython-newer-than-0.20.2.patch
+0007-Temporay-desable-tests-that-use-the-lz4-conpressor.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytables.git



More information about the debian-science-commits mailing list