mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
suppress warnings
* 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
This commit is contained in:
parent
df0e70b90a
commit
f306bb0fed
2 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,9 @@ $stderr.reopen($stdout)
|
||||||
error = ''
|
error = ''
|
||||||
|
|
||||||
srcdir = File.expand_path('..', File.dirname(__FILE__))
|
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|
|
`#{ruby} #{opt} -W1 #{srcdir}/basictest/test.rb #{ARGV.join(' ')}`.each_line do |line|
|
||||||
if line =~ /^end of test/
|
if line =~ /^end of test/
|
||||||
print "\ntest succeeded\n"
|
print "\ntest succeeded\n"
|
||||||
|
|
|
@ -60,6 +60,7 @@ end
|
||||||
def main
|
def main
|
||||||
@ruby = File.expand_path('miniruby')
|
@ruby = File.expand_path('miniruby')
|
||||||
@verbose = false
|
@verbose = false
|
||||||
|
$VERBOSE = false
|
||||||
$stress = false
|
$stress = false
|
||||||
@color = nil
|
@color = nil
|
||||||
@tty = nil
|
@tty = nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue