[DRE-commits] [SCM] ruby-markaby.git branch, master, updated. upstream/0.7.2-11-g57dbfd8

Cédric Boutillier cedric.boutillier at gmail.com
Wed Aug 31 22:14:19 UTC 2011


The following commit has been merged in the master branch:
commit 5b443c083b66bfdbabc605eef1fd68eeff273a89
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Wed Aug 31 22:58:33 2011 +0200

    enable test suite also for ruby1.9

diff --git a/debian/patches/03_no_require_test_unit_autorunner.diff b/debian/patches/03_no_require_test_unit_autorunner.diff
new file mode 100644
index 0000000..03c4a30
--- /dev/null
+++ b/debian/patches/03_no_require_test_unit_autorunner.diff
@@ -0,0 +1,15 @@
+Description: do not require test/unit/autorunner
+ This file is not present in ruby1.9. It is not required anyway to run 
+ the test suite.
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Last-Update: 2011-08-31
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,5 +1,5 @@
+ require 'test/unit'
+-require 'test/unit/autorunner'
++#require 'test/unit/autorunner'
+ require 'rspec'
+ 
+ #$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
diff --git a/debian/patches/series b/debian/patches/series
index 3292c05..638d779 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_fix_VERSION.diff
 02_prevent_$LOAD_PATH_override.diff
+03_no_require_test_unit_autorunner.diff
diff --git a/debian/rules b/debian/rules
index 3bea345..268a4f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,6 @@
 # Uncomment to ignore some test failures (but the tests will run anyway).
 # Valid values:
 #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
-
-# missing test/unit for ruby 1.9.1
-export DH_RUBY_IGNORE_TESTS=ruby1.9.1 
 #
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec

-- 
ruby-markaby.git



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