diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-07 10:34:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-07 10:34:11 +0000 |
commit | ab4c089b6cda18b7ca6694d6da0d6bc40cbe3249 (patch) | |
tree | feef6b4ed4175f1d812cd6d34b4e6eae8f4a8db6 /basictest | |
parent | 6419c3704ea17fb7549ab16bfaa6c998e08747db (diff) | |
download | ruby-ab4c089b6cda18b7ca6694d6da0d6bc40cbe3249.tar.gz |
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
Diffstat (limited to 'basictest')
-rwxr-xr-x | basictest/runner.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/basictest/runner.rb b/basictest/runner.rb index 3a60036ffa..0330b6d506 100755 --- a/basictest/runner.rb +++ b/basictest/runner.rb @@ -17,6 +17,9 @@ $stderr.reopen($stdout) 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" |