[DRE-commits] [SCM] ruby-libxml.git branch, master, updated. debian/2.3.2-1

Gunnar Wolf gwolf at debian.org
Tue Mar 27 22:42:21 UTC 2012


The following commit has been merged in the master branch:
commit 857869499dc46c3865440ca54c2891aa766d9907
Author: Gunnar Wolf <gwolf at debian.org>
Date:   Tue Mar 27 16:36:59 2012 -0600

    Allow tests to run under 1.9.1

diff --git a/debian/patches/fix_test_under_1.9.1 b/debian/patches/fix_test_under_1.9.1
new file mode 100644
index 0000000..1c32cbf
--- /dev/null
+++ b/debian/patches/fix_test_under_1.9.1
@@ -0,0 +1,24 @@
+Description: Add 'minitest/unit' to required files under 1.9.1
+ The test runs only when under 1.9.1, and it's missing a dependency.
+Author: Gunnar Wolf <gwolf at debian.org>
+Last-update: 2012-03-27
+
+Index: ruby-libxml/test/tc_encoding_sax.rb
+===================================================================
+--- ruby-libxml.orig/test/tc_encoding_sax.rb	2012-03-27 16:16:59.000000000 -0600
++++ ruby-libxml/test/tc_encoding_sax.rb	2012-03-27 16:35:23.000000000 -0600
+@@ -1,6 +1,7 @@
+ # encoding: UTF-8
+ require './test_helper'
+ require 'test/unit'
++require 'minitest/unit'
+ 
+ class SaxEncodingCallbacks
+   attr_reader :encoding
+@@ -112,4 +113,4 @@
+     parser.callbacks = SaxEncodingCallbacks.new
+     parser.parse
+   end
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
index 1b5e8f8..28627c9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0100_run_builtin_shell_command_ulimit_in_tests.patch
+fix_test_under_1.9.1

-- 
ruby-libxml.git



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