ruby-changes:43755
From: nobu <ko1@a...>
Date: Sun, 7 Aug 2016 19:34:15 +0900 (JST)
Subject: [ruby-changes:43755] nobu:r55828 (trunk): suppress warnings
nobu 2016-08-07 19:34:11 +0900 (Sun, 07 Aug 2016) New Revision: 55828 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55828 Log: suppress warnings * basictest/runner.rb, bootstraptest/runner.rb: disable warnings. Modified files: trunk/basictest/runner.rb trunk/bootstraptest/runner.rb Index: basictest/runner.rb =================================================================== --- basictest/runner.rb (revision 55827) +++ basictest/runner.rb (revision 55828) @@ -17,6 +17,9 @@ $stderr.reopen($stdout) https://github.com/ruby/ruby/blob/trunk/basictest/runner.rb#L17 error = '' srcdir = File.expand_path('..', File.dirname(__FILE__)) +if opt = ENV["RUBYOPT"] + ENV["RUBYOPT"] = opt + " -W1" +end `#{ruby} #{opt} -W1 #{srcdir}/basictest/test.rb #{ARGV.join(' ')}`.each_line do |line| if line =~ /^end of test/ print "\ntest succeeded\n" Index: bootstraptest/runner.rb =================================================================== --- bootstraptest/runner.rb (revision 55827) +++ bootstraptest/runner.rb (revision 55828) @@ -60,6 +60,7 @@ end https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L60 def main @ruby = File.expand_path('miniruby') @verbose = false + $VERBOSE = false $stress = false @color = nil @tty = nil -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/