ruby-changes:44376
From: nobu <ko1@a...>
Date: Wed, 19 Oct 2016 14:22:58 +0900 (JST)
Subject: [ruby-changes:44376] nobu:r56449 (trunk): basictest: --run-opt option
nobu 2016-10-19 14:22:51 +0900 (Wed, 19 Oct 2016) New Revision: 56449 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56449 Log: basictest: --run-opt option * basictest/runner.rb: do not clobber the option by --run-opt with RUBYOPT. reported by Allen Hewes <rallenh AT hotmail.com>. Modified files: trunk/ChangeLog trunk/basictest/runner.rb Index: basictest/runner.rb =================================================================== --- basictest/runner.rb (revision 56448) +++ basictest/runner.rb (revision 56449) @@ -17,8 +17,8 @@ $stderr.reopen($stdout) https://github.com/ruby/ruby/blob/trunk/basictest/runner.rb#L17 error = '' srcdir = File.expand_path('..', File.dirname(__FILE__)) -if opt = ENV["RUBYOPT"] - ENV["RUBYOPT"] = opt + " -W1" +if env = ENV["RUBYOPT"] + ENV["RUBYOPT"] = env + " -W1" end `#{ruby} #{opt} -W1 #{srcdir}/basictest/test.rb #{ARGV.join(' ')}`.each_line do |line| if line =~ /^end of test/ Index: ChangeLog =================================================================== --- ChangeLog (revision 56448) +++ ChangeLog (revision 56449) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Oct 19 14:22:49 2016 Nobuyoshi Nakada <nobu@r...> + + * basictest/runner.rb: do not clobber the option by --run-opt with + RUBYOPT. reported by Allen Hewes <rallenh AT hotmail.com>. + Wed Oct 19 00:09:06 2016 Nobuyoshi Nakada <nobu@r...> * addr2line.c (parse_debug_line_cu): boundary checks for -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/