summaryrefslogtreecommitdiff
path: root/test/mkmf
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-06 14:18:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-06 14:18:26 +0000
commit5d8fd7f1ba3ebd13beaf4a572ff72582e8dee4e7 (patch)
tree5ccc21a16b3b70e8caffa15a2592bf0aef931c76 /test/mkmf
parent6852bf0933055bc7193259e934935d051481469f (diff)
* test/mkmf/base.rb (TestMkmf#setup): run quietly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/mkmf')
-rw-r--r--test/mkmf/base.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 1b5b89e17c..79f46ed202 100644
--- a/test/mkmf/base.rb
+++ b/test/mkmf/base.rb
@@ -14,16 +14,11 @@ class TestMkmf < Test::Unit::TestCase
@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