[DRE-commits] [SCM] ruby-libxml.git branch, master, updated. debian/2.2.2-1-2-g8114569
Cédric Boutillier
cedric.boutillier at gmail.com
Sat Nov 26 00:47:26 UTC 2011
The following commit has been merged in the master branch:
commit 8114569240b8e28a9e5938b3c5387c678a1a8973
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Sat Nov 26 00:59:32 2011 +0100
just require test/test_suite.rb to run the tests
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 56978dd..434d411 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -5,11 +5,12 @@ $LOAD_PATH.map {|path| '%s/%s/%s' % [Dir.pwd, instdir, path]}.
select {|path| File.exist?(path)}.
each {|path| $LOAD_PATH << path}
-Dir.chdir('test')
-Dir.open('.').select {|f| f=~/\.rb$/}.each do |f|
- begin
- require f
- rescue
- 'Error loading test: %s' % f
- end
-end
+#Dir.chdir('test')
+#Dir.open('.').select {|f| f=~/\.rb$/}.each do |f|
+# begin
+# require f
+# rescue
+# 'Error loading test: %s' % f
+# end
+#end
+require "test/test_suite.rb"
diff --git a/debian/rules b/debian/rules
index 5229fa8..a5e7dc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,6 @@
#
# Uncomment to ignore all test failures (but the tests will run anyway)
#export DH_RUBY_IGNORE_TESTS=all
-export DH_RUBY_IGNORE_TESTS=all
#
# Uncomment to ignore some test failures (but the tests will run anyway).
# Valid values:
--
ruby-libxml.git
More information about the Pkg-ruby-extras-commits
mailing list