aboutsummaryrefslogtreecommitdiffstats
path: root/basictest
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
commitab1098336d02ccb568545b520f96f8511cbff9a0 (patch)
treebee068b4ca79a8634ad73348b7e2026a5c98dbd0 /basictest
parent0e84fc7a43ac4915846cfbbe5f762f25ac3edee2 (diff)
downloadruby-ab1098336d02ccb568545b520f96f8511cbff9a0.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
Diffstat (limited to 'basictest')
-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