[DRE-commits] [ruby-libxml] 01/01: on s390x, skip test that fails on the buildd, but not on the porterbox

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jul 24 12:47:51 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-libxml.

commit 0b8e1e15c6237f104deb230384c1ddff51f29131
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Jul 24 09:46:52 2015 -0300

    on s390x, skip test that fails on the buildd, but not on the porterbox
---
 debian/changelog                                   |  8 +++++++
 debian/patches/series                              |  1 +
 .../patches/skip-problematic-test-on-x390x.patch   | 25 ++++++++++++++++++++++
 3 files changed, 34 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f81b853..d52644f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-libxml (2.8.0-2) UNRELEASED; urgency=medium
+
+  * Team upload
+  * skip-problematic-test-on-x390x.patch: on s390x, skip on test that
+    consistently fails on the buildd, but not on the porterbox
+
+ -- Antonio Terceiro <terceiro at debian.org>  Fri, 24 Jul 2015 09:45:51 -0300
+
 ruby-libxml (2.8.0-1) unstable; urgency=medium
 
   * Imported Upstream version 2.8.0
diff --git a/debian/patches/series b/debian/patches/series
index bbb7649..85b7c27 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0100_run_builtin_shell_command_ulimit_in_tests.patch
 libxml2-2.9.2.patch
 avoid_infinite_loop_ruby22.patch
+skip-problematic-test-on-x390x.patch
diff --git a/debian/patches/skip-problematic-test-on-x390x.patch b/debian/patches/skip-problematic-test-on-x390x.patch
new file mode 100644
index 0000000..0c25c98
--- /dev/null
+++ b/debian/patches/skip-problematic-test-on-x390x.patch
@@ -0,0 +1,25 @@
+Description: skip problematic test on s390x
+ For some weird reason, this test fails only on the s390x buildd, but *not* on
+ the s390x ported box.
+Author: Antonio Terceiro <terceiro at debian.org>
+Origin: vendor
+Forwarded: not-needed
+
+--- ruby-libxml-2.8.0.orig/test/tc_reader.rb
++++ ruby-libxml-2.8.0/test/tc_reader.rb
+@@ -53,7 +53,7 @@ class TestReader < Test::Unit::TestCase
+   def test_document
+     reader = XML::Reader.document(XML::Document.file(XML_FILE))
+     verify_simple(reader)
+-  end
++  end unless RbConfig::CONFIG['arch'] =~ /s390x/
+ 
+   def test_file
+     reader = XML::Reader.file(XML_FILE)
+@@ -397,4 +397,4 @@ class TestReader < Test::Unit::TestCase
+     # Encoding is always null for strings, very annoying!
+     assert_equal(reader.encoding, XML::Encoding::NONE)
+   end
+-end
+\ No newline at end of file
++end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-libxml.git



More information about the Pkg-ruby-extras-commits mailing list