[DRE-commits] [SCM] rubygems.git branch, master, updated. upstream/1.7.2-34-ge187262

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Oct 7 12:49:21 UTC 2011


The following commit has been merged in the master branch:
commit 64006fcd7078bf61f149a4c59b8115e3ac2d9ce8
Author: Lucas Nussbaum <lucas at lucas-nussbaum.net>
Date:   Fri Oct 7 14:12:16 2011 +0200

    don't allow test libs not to be there

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 0b2fcef..9268763 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -4,11 +4,6 @@ EXC_TESTS = [
   'test/rubygems/insure_session.rb',
 ]
 
-begin
-  require 'rubygems'
-  require 'minitest/autorun'
-rescue LoadError
-  $stderr.puts "WARNING: Skipped tests due to lack of dependency libraries."
-  exit
-end
+require 'rubygems'
+require 'minitest/autorun'
 (Dir['{spec,test}/**/test_*.rb'] - EXC_TESTS).each { |f| require f }

-- 
rubygems.git



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