[DRE-commits] [gem2deb] 08/08: revert --no-wnpp-check in tests

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Aug 12 01:46:27 UTC 2014


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit ec03da87b57a7f1392200aab70d098a00091ed9e
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Aug 11 22:41:46 2014 -0300

    revert --no-wnpp-check in tests
    
    the solution with a stub in test/bin is cleaner
---
 debian/changelog                                  | 1 -
 test/integration/dh_make_ruby_integration_test.rb | 4 ++--
 test/integration/gem2deb_test.rb                  | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9b81709..14ec16d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,7 +9,6 @@ gem2deb (0.8.0) unstable; urgency=medium
     hitting the network
 
   [Cédric Boutillier]
-  * 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 a83b5bd..9d33c8a 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 --no-wnpp-check #{target_dir}")
+    run_command("dh-make-ruby #{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 --no-wnpp-check #{target_dir}")
+    run_command("dh-make-ruby #{target_dir}")
   end
 
 end
diff --git a/test/integration/gem2deb_test.rb b/test/integration/gem2deb_test.rb
index 6088481..b66bdde 100644
--- a/test/integration/gem2deb_test.rb
+++ b/test/integration/gem2deb_test.rb
@@ -6,7 +6,7 @@ class Gem2DebTest < Gem2DebTestCase
     FileUtils.cp gem, tmpdir
     gem = File.basename(gem)
     Dir.chdir(tmpdir) do
-      cmd = "gem2deb --no-wnpp-check -d #{gem}"
+      cmd = "gem2deb -d #{gem}"
       run_command(cmd)
     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