mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/unit.rb: initialize instance variable
* test/lib/test/unit.rb (Test::Unit::Parallel#non_options): initialize @jobserver instance variable to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fbdec8186e
commit
36037442be
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ module Test
|
||||||
end
|
end
|
||||||
|
|
||||||
def non_options(files, options)
|
def non_options(files, options)
|
||||||
|
@jobserver = nil
|
||||||
if !options[:parallel] and
|
if !options[:parallel] and
|
||||||
/(?:\A|\s)--jobserver-auth=(\d+),(\d+)/ =~ ENV["MAKEFLAGS"]
|
/(?:\A|\s)--jobserver-auth=(\d+),(\d+)/ =~ ENV["MAKEFLAGS"]
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue