[DRE-commits] [SCM] gem2deb.git branch, master, updated. bfe5651b9666906cb6004b8befa940a67f623fd0
Lucas Nussbaum
lucas at lucas-nussbaum.net
Sun Apr 3 10:25:34 UTC 2011
The following commit has been merged in the master branch:
commit 14378d62da59b58890c31d88a3b0fbb6a390bf57
Author: Lucas Nussbaum <lucas at lucas-nussbaum.net>
Date: Sun Apr 3 12:15:07 2011 +0200
allow integration tests to run test suites
diff --git a/lib/gem2deb/dh_ruby.rb b/lib/gem2deb/dh_ruby.rb
index f0efd91..cb50cd0 100644
--- a/lib/gem2deb/dh_ruby.rb
+++ b/lib/gem2deb/dh_ruby.rb
@@ -81,6 +81,7 @@ module Gem2Deb
end
EXTENSION_BUILDER = File.expand_path(File.join(File.dirname(__FILE__),'extension_builder.rb'))
+ TEST_RUNNER = File.expand_path(File.join(File.dirname(__FILE__),'testrunner.rb'))
LIBDIR = File.expand_path(File.join(File.dirname(__FILE__), '..'))
def install(argv)
@@ -196,8 +197,7 @@ module Gem2Deb
end
if File::exists?('debian/ruby-test-files.yaml')
puts "Running tests for #{rubyver} using gem2deb test runner and debian/ruby-test-files.yaml..."
- testrunner = File.join(File.dirname(__FILE__),'testrunner.rb')
- cmd = "#{SUPPORTED_RUBY_VERSIONS[rubyver]} #{testrunner}"
+ cmd = "#{SUPPORTED_RUBY_VERSIONS[rubyver]} #{TEST_RUNNER}"
puts(cmd) if $VERBOSE
system(cmd)
elsif File::exists?('debian/ruby-tests.rb')
--
gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list