Skip to content

Commit

Permalink
suppress warnings
Browse files Browse the repository at this point in the history
* basictest/runner.rb, bootstraptest/runner.rb: disable warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Aug 7, 2016
1 parent df0e70b commit f306bb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions basictest/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
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"
Expand Down
1 change: 1 addition & 0 deletions bootstraptest/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def Dir.mktmpdir(prefix_suffix=nil, tmpdir=nil)
def main
@ruby = File.expand_path('miniruby')
@verbose = false
$VERBOSE = false
$stress = false
@color = nil
@tty = nil
Expand Down

0 comments on commit f306bb0

Please sign in to comment.