[DRE-commits] [SCM] gem2deb.git branch, setuprb, updated. debian/0.2.3-20-g80a639e

Vincent Fourmond fourmond at debian.org
Mon Jun 6 07:43:01 UTC 2011


The following commit has been merged in the setuprb branch:
commit 80a639ecd98a1de34ba9edc5916a1b4ba310ed6e
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Sat Jun 4 14:05:33 2011 -0700

    Clean output of unit tests
    
    setup.rb writes regular output to $stderr

diff --git a/test/unit/dh_rubysetuprb_test.rb b/test/unit/dh_rubysetuprb_test.rb
index 190900a..1cb6b95 100644
--- a/test/unit/dh_rubysetuprb_test.rb
+++ b/test/unit/dh_rubysetuprb_test.rb
@@ -57,12 +57,14 @@ class DhRubySetuprbTest < Gem2DebTestCase
     dh_ruby.verbose = false
 
     silence_stream(STDOUT) do
-      Dir.chdir(package_path) do
-        # This sequence tries to imitate what dh will actually do
-        dh_ruby.clean
-        dh_ruby.configure
-        dh_ruby.build
-        dh_ruby.install File.join(package_path, 'debian', 'tmp')
+      silence_stream(STDERR) do
+        Dir.chdir(package_path) do
+          # This sequence tries to imitate what dh will actually do
+          dh_ruby.clean
+          dh_ruby.configure
+          dh_ruby.build
+          dh_ruby.install File.join(package_path, 'debian', 'tmp')
+        end
       end
     end
   end

-- 
gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list