[DRE-commits] [gem2deb] 01/01: deactivate wnpp-check also for dh-make-ruby in integration tests

Cédric Boutillier boutil at moszumanska.debian.org
Mon Aug 11 16:08:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository gem2deb.

commit 3d2aceaccd08006c9a7d8fd71b46c15986dfc20b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Aug 11 17:02:05 2014 +0200

    deactivate wnpp-check also for dh-make-ruby in integration tests
---
 debian/changelog                                  | 2 +-
 test/integration/dh_make_ruby_integration_test.rb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 17665d9..43c5e69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 gem2deb (0.7.7) UNRELEASED; urgency=medium
 
-  * Add no-wnpp-check option to gem2deb in integration tests
+  * Add no-wnpp-check option to gem2deb and dh_make_ruby in integration tests
   * Update sample gems with non obsolete rake rules
 
  -- Cédric Boutillier <boutil at debian.org>  Mon, 11 Aug 2014 14:22:55 +0200
diff --git a/test/integration/dh_make_ruby_integration_test.rb b/test/integration/dh_make_ruby_integration_test.rb
index 9d33c8a..a83b5bd 100644
--- a/test/integration/dh_make_ruby_integration_test.rb
+++ b/test/integration/dh_make_ruby_integration_test.rb
@@ -5,14 +5,14 @@ class DhMakeRubyIntegrationTest < Gem2DebTestCase
   should 'run dh-make against directory with gemspec' do
     target_dir = File.join(tmpdir, 'withgemspec')
     FileUtils.cp_r(SIMPLE_GIT, target_dir)
-    run_command("dh-make-ruby #{target_dir}")
+    run_command("dh-make-ruby --no-wnpp-check #{target_dir}")
   end
 
   should 'run dh-make against directory without gemspec' do
     target_dir = File.join(tmpdir, 'withoutgemspec')
     FileUtils.cp_r(SIMPLE_GIT, target_dir)
     FileUtils.rm(File.join(target_dir, 'simplegit.gemspec'))
-    run_command("dh-make-ruby #{target_dir}")
+    run_command("dh-make-ruby --no-wnpp-check #{target_dir}")
   end
 
 end

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