[DRE-commits] [SCM] rake.git branch, master, updated. debian/0.9.2-1-20-ge7bdb9f

Antonio Terceiro terceiro at debian.org
Sat Nov 19 21:56:26 UTC 2011


The following commit has been merged in the master branch:
commit d6b5630ac23fad2dcf0a3285c7689a94ef205f76
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Nov 19 18:19:24 2011 -0200

    run the tests under 1.8, but ignore the results

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 0c1b41c..c65eb6f 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,7 +1,3 @@
-if RUBY_VERSION < '1.9'
-  puts "Not running tests for Ruby < 1.9"
-  exit
-end
 require 'rbconfig'
 ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-exec("#{ruby} ./bin/rake")
+exec("#{ruby} -rubygems ./bin/rake")
diff --git a/debian/rules b/debian/rules
index aac840e..1c9b87f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,6 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# 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
-export DH_RUBY_IGNORE_TESTS=require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export DH_RUBY_IGNORE_TESTS=ruby1.8
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

-- 
rake.git



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