mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
basictest: disable warnings
* basictest/runner.rb: disable warnings for old test script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6648d61578
commit
991c159c17
1 changed files with 1 additions and 1 deletions
2
basictest/runner.rb
Normal file → Executable file
2
basictest/runner.rb
Normal file → Executable file
|
@ -17,7 +17,7 @@ $stderr.reopen($stdout)
|
|||
error = ''
|
||||
|
||||
srcdir = File.expand_path('..', File.dirname(__FILE__))
|
||||
`#{ruby} #{opt} #{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/
|
||||
print "\ntest succeeded\n"
|
||||
exit true
|
||||
|
|
Loading…
Add table
Reference in a new issue