[DRE-commits] [gem2deb] 01/05: fix path for the test runner
Cédric Boutillier
boutil at moszumanska.debian.org
Mon Aug 11 13:34:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch autopkgtest
in repository gem2deb.
commit 11235dc8abd9c9254b34f63bfc75ddf16d5e0626
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Jul 29 22:30:51 2014 +0200
fix path for the test runner
---
lib/gem2deb/dh_ruby.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/gem2deb/dh_ruby.rb b/lib/gem2deb/dh_ruby.rb
index 94570a9..7e7f1dd 100644
--- a/lib/gem2deb/dh_ruby.rb
+++ b/lib/gem2deb/dh_ruby.rb
@@ -58,7 +58,11 @@ module Gem2Deb
# puts " Leaving dh_ruby --test" if @verbose
end
- TEST_RUNNER = File.expand_path(File.join(File.dirname(__FILE__),'test_runner.rb'))
+ if File.exist? File.expand_path(File.join(File.dirname(__FILE__),'../../bin','gem2deb-test-runner'))
+ TEST_RUNNER = File.expand_path(File.join(File.dirname(__FILE__),'../../../bin','gem2deb-test-runner'))
+ else
+ TEST_RUNNER = "/usr/bin/gem2deb-test-runner"
+ end
def install(argv)
puts " Entering dh_ruby --install" if @verbose
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list