ruby-changes:56169
From: Nobuyoshi <ko1@a...>
Date: Thu, 20 Jun 2019 20:52:40 +0900 (JST)
Subject: [ruby-changes:56169] Nobuyoshi Nakada: 1f0762ad21 (trunk): Suppress messages from mkmf
https://git.ruby-lang.org/ruby.git/commit/?id=1f0762ad21 From 1f0762ad2194aef6457c6687e2e536bb695193bf Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 20 Jun 2019 19:27:27 +0900 Subject: Suppress messages from mkmf diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb index 80dec14..cdcf14c 100644 --- a/test/mkmf/base.rb +++ b/test/mkmf/base.rb @@ -130,8 +130,10 @@ module TestMkmf::Base https://github.com/ruby/ruby/blob/trunk/test/mkmf/base.rb#L130 def mkmf(*args, &block) @stdout.clear stdout, @stdout.origin, $stdout = @stdout.origin, $stdout, @stdout + verbose, $VERBOSE = $VERBOSE, false @mkmfobj.instance_eval(*args, &block) ensure + $VERBOSE = verbose $stdout, @stdout.origin = @stdout.origin, stdout end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/