[DRE-commits] [SCM] rubygems.git branch, master, updated. debian/1.7.2-1-11-g7c5cb0a
Daigo Moriwaki
daigo at debian.org
Fri Apr 29 14:25:45 UTC 2011
The following commit has been merged in the master branch:
commit 89ee9163df9c2ae48c7f5f878aa895077da832a2
Author: Daigo Moriwaki <daigo at debian.org>
Date: Fri Apr 29 17:50:21 2011 +0900
Tests will be skipped without the minitest library installed, which Debian does not have for Ruby 1.8.
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 5f42501..0b2fcef 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -3,4 +3,12 @@ EXC_TESTS = [
'test/rubygems/functional.rb',
'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
(Dir['{spec,test}/**/test_*.rb'] - EXC_TESTS).each { |f| require f }
--
rubygems.git
More information about the Pkg-ruby-extras-commits
mailing list