aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-12 03:49:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-12 03:49:03 +0000
commit991c159c17c186f23462ad08fc9389f88aee3ea7 (patch)
treebee068b4ca79a8634ad73348b7e2026a5c98dbd0
parent6648d615788443eb228d7d6f55be1ffa99a835e0 (diff)
downloadruby-991c159c17c186f23462ad08fc9389f88aee3ea7.tar.gz
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
-rwxr-xr-x[-rw-r--r--]basictest/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/basictest/runner.rb b/basictest/runner.rb
index 2997f3af48..3a60036ffa 100644..100755
--- a/basictest/runner.rb
+++ b/basictest/runner.rb
@@ -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