ruby-changes:18080
From: nobu <ko1@a...>
Date: Mon, 6 Dec 2010 23:18:32 +0900 (JST)
Subject: [ruby-changes:18080] Ruby:r30101 (trunk): * test/mkmf/base.rb (TestMkmf#setup): run quietly.
nobu 2010-12-06 23:18:26 +0900 (Mon, 06 Dec 2010) New Revision: 30101 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30101 Log: * test/mkmf/base.rb (TestMkmf#setup): run quietly. Modified files: trunk/ChangeLog trunk/test/mkmf/base.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 30100) +++ ChangeLog (revision 30101) @@ -1,5 +1,7 @@ -Mon Dec 6 23:17:36 2010 Nobuyoshi Nakada <nobu@r...> +Mon Dec 6 23:18:22 2010 Nobuyoshi Nakada <nobu@r...> + * test/mkmf/base.rb (TestMkmf#setup): run quietly. + * test/mkmf/test_find_executable.rb (test_find_executable): use configured results. Index: test/mkmf/base.rb =================================================================== --- test/mkmf/base.rb (revision 30100) +++ test/mkmf/base.rb (revision 30101) @@ -14,16 +14,11 @@ @curdir = Dir.pwd @mkmfobj = Object.new Dir.chdir(@tmpdir) - class << (@output = "") - def flush; end - def reopen(*) end - alias write << - end - $stdout = @output + @quiet, Logging.quiet = Logging.quiet, true end def teardown - $stdout = STDOUT + Logging.quiet = @quiet Dir.chdir(@curdir) FileUtils.rm_rf(@tmpdir) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/