[DRE-commits] [gem2deb] 02/02: Remove the dependency of gem2deb-test-runner on test frameworks

Cédric Boutillier boutil at moszumanska.debian.org
Tue Aug 26 09:12:39 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 02e283e42c500b4b1e6944d72c419deae25c3d78
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Aug 25 08:42:08 2014 +0200

    Remove the dependency of gem2deb-test-runner on test frameworks
    
    Instead, they are mentionned in the comments of debian/tests/control
    template. We also add in these comments the mention of
    Restrictions: allow-stderr, as we expect many tests to emit warnings.
---
 debian/control                                         | 2 +-
 lib/gem2deb/dh_make_ruby/template/debian/tests/control | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index d7378a8..7c76f30 100644
--- a/debian/control
+++ b/debian/control
@@ -41,7 +41,7 @@ Description: Debian Ruby packaging suite
 
 Package: gem2deb-test-runner
 Architecture: all
-Depends: ruby | ruby-interpreter, ruby-rspec, ruby-test-unit, rake, ${shlibs:Depends}, ${misc:Depends}
+Depends: ruby | ruby-interpreter, ${shlibs:Depends}, ${misc:Depends}
 Description: Debian Ruby packaging suite - tool to run tests
  gem2deb is a set of tools to create Debian package from ruby software
  distributed with Rubygems.
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/tests/control b/lib/gem2deb/dh_make_ruby/template/debian/tests/control
index db8b064..ba12c70 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/tests/control
+++ b/lib/gem2deb/dh_make_ruby/template/debian/tests/control
@@ -1,5 +1,7 @@
 Test-Command: gem2deb-test-runner --autopkgtest 2>&1
 Depends: @, gem2deb-test-runner
+#FIXME: add to Depends ruby-rspec, ruby-test-unit... if needed
+#Restrictions: allow-stderr
 
 #FIXME: replace LIB by the name of the main file of the library
 #Test-Command: ruby -r LIB -e "puts true"

-- 
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